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:
bz 2012-02-11 11:11:43 +00:00
parent aa3326a535
commit 97ccc39efb

View File

@ -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++) {