summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/netinet6/icmp6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c
index 04810c3..ae52f11 100644
--- a/sys/netinet6/icmp6.c
+++ b/sys/netinet6/icmp6.c
@@ -870,7 +870,7 @@ icmp6_input(struct mbuf **mp, int *offp, int proto)
break;
}
deliver:
- if (icmp6_notify_error(&m, off, icmp6len, code)) {
+ if (icmp6_notify_error(&m, off, icmp6len, code) != 0) {
/* In this case, m should've been freed. */
return (IPPROTO_DONE);
}
OpenPOWER on IntegriCloud