diff --git a/sys/netinet6/ip6_fw.c b/sys/netinet6/ip6_fw.c index 0ef2c52f2b47..e35f49491ad7 100644 --- a/sys/netinet6/ip6_fw.c +++ b/sys/netinet6/ip6_fw.c @@ -290,6 +290,7 @@ ip6opts_match(struct ip6_hdr **pip6, struct ip6_fw *f, struct mbuf **m, case IPPROTO_ESP: opts &= ~IPV6_FW_IP6OPT_ESP; nopts &= ~IPV6_FW_IP6OPT_ESP; + goto opts_check; break; case IPPROTO_NONE: opts &= ~IPV6_FW_IP6OPT_NONXT;