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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=231515

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