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:
Hajimu UMEMOTO 2003-07-27 16:21:10 +00:00
parent 1cff8bd286
commit c2ada8f1de
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118091

View File

@ -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;