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
a8f77c1f66
commit
b4549038e1
@ -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