summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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