summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw2.c
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-12-24 18:22:04 +0000
committerume <ume@FreeBSD.org>2003-12-24 18:22:04 +0000
commitad7968509b04f6687f13f98cb43f0d2872226bdb (patch)
treea2c6f3ba3c06b6decea054fff0ecdc7fb7bcfefb /sys/netinet/ip_fw2.c
parent0e875a0970c94e725bea862d20533fd88bcc70ae (diff)
downloadFreeBSD-src-ad7968509b04f6687f13f98cb43f0d2872226bdb.zip
FreeBSD-src-ad7968509b04f6687f13f98cb43f0d2872226bdb.tar.gz
NULL is not 0.
Submitted by: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
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 1d0da35..836be9d 100644
--- a/sys/netinet/ip_fw2.c
+++ b/sys/netinet/ip_fw2.c
@@ -1915,7 +1915,7 @@ check_body:
PACKET_TAG_IPSEC_IN_DONE, NULL) != NULL);
#endif
#ifdef IPSEC
- match = (ipsec_getnhist(m) != NULL);
+ match = (ipsec_getnhist(m) != 0);
#endif
/* otherwise no match */
break;
OpenPOWER on IntegriCloud