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:
Bjoern A. Zeeb 2012-02-11 11:11:43 +00:00
parent a8f77c1f66
commit b4549038e1

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