use ipsec_getnhist() instead of obsoleted ipsec_gethist().

Submitted by:	"Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Reviewed by:	Ari Suutari <ari@suutari.iki.fi> (ipfw@)
This commit is contained in:
Hajimu UMEMOTO 2003-11-07 20:25:47 +00:00
parent c055e5d412
commit aef3a65eb7

View File

@ -1898,7 +1898,7 @@ ipfw_chk(struct ip_fw_args *args)
PACKET_TAG_IPSEC_IN_DONE, NULL) != NULL); PACKET_TAG_IPSEC_IN_DONE, NULL) != NULL);
#endif #endif
#ifdef IPSEC #ifdef IPSEC
match = (ipsec_gethist(m, NULL) != NULL); match = (ipsec_getnhist(m) != NULL);
#endif #endif
/* otherwise no match */ /* otherwise no match */
break; break;