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

divert supports only IPv4.
This commit is contained in:
ume 2005-11-19 06:06:59 +00:00
parent 6b204eeefe
commit c1f4a10f42

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