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

View File

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