ip6fw does not handle ESP correctly
PR: kern/54874 Submitted by: JINMEI Tatuya <jinmei@shuttle.wide.toshiba.co.jp> MFC after: 1 week
This commit is contained in:
parent
1cff8bd286
commit
c2ada8f1de
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user