MFC 1.48: don't match packets other than IPv4 against divert rule.
divert supports only IPv4.
This commit is contained in:
parent
6b204eeefe
commit
c1f4a10f42
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user