don't match packets other than IPv4 against divert rule.

divert supports only IPv4.

Reported by:	SAITOU Toshihide <toshi__at__ruby.ocn.ne.jp>
Discussed with:	suz
MFC after:	1 day
This commit is contained in:
Hajimu UMEMOTO 2005-11-18 02:23:59 +00:00
parent 8fd860cfa1
commit d1bb0919f0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152562

View File

@ -121,7 +121,7 @@ case ${firewall_type} in
case ${natd_enable} in
[Yy][Ee][Ss])
if [ -n "${natd_interface}" ]; then
${fwcmd} add 50 divert natd all from any to any via ${natd_interface}
${fwcmd} add 50 divert natd ip4 from any to any via ${natd_interface}
fi
;;
esac