Use the correct constant (with same value) for comparying the SA type.
PR: kern/142741 Submitted by: Matthijs Kooiman (matthijs stdin.nl) MFC after: 3 days
This commit is contained in:
parent
aa3326a535
commit
97ccc39efb
@ -662,7 +662,7 @@ pfkey_send_register(so, satype)
|
||||
{
|
||||
int len, algno;
|
||||
|
||||
if (satype == PF_UNSPEC) {
|
||||
if (satype == SADB_SATYPE_UNSPEC) {
|
||||
for (algno = 0;
|
||||
algno < sizeof(supported_map)/sizeof(supported_map[0]);
|
||||
algno++) {
|
||||
|
Loading…
Reference in New Issue
Block a user