summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw2.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-11-07 20:25:47 +0000
committerume <ume@FreeBSD.org>2003-11-07 20:25:47 +0000
commitac7871522dd125e53f2ac5a520b8be265e56749a (patch)
tree1c4e1f3c647f5de3af0debb400642745b7fdef55 /sys/netinet/ip_fw2.c
parent0ec5596a3054aaf21eb2e114a38bc3f3ebcc2e0b (diff)
downloadFreeBSD-src-ac7871522dd125e53f2ac5a520b8be265e56749a.zip
FreeBSD-src-ac7871522dd125e53f2ac5a520b8be265e56749a.tar.gz
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@)
Diffstat (limited to 'sys/netinet/ip_fw2.c')
-rw-r--r--sys/netinet/ip_fw2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c
index 4d54014..ed5946e 100644
--- a/sys/netinet/ip_fw2.c
+++ b/sys/netinet/ip_fw2.c
@@ -1898,7 +1898,7 @@ check_body:
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;
OpenPOWER on IntegriCloud