mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
8fd860cfa1
commit
d1bb0919f0
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue