Fix error droping ICMP packets. fix error dropping private networks.

This commit is contained in:
2020-10-29 12:55:59 +01:00
parent bcdee40228
commit 96b3e162fe
2 changed files with 16 additions and 10 deletions

View File

@ -797,8 +797,9 @@ if [[ -n "$drop_icmp" ]] && $drop_icmp ; then
fi
$ipt -t mangle -A PREROUTING -p icmp -j DROP
echo_done
else
echo_skipped
fi
echo_skipped
# ---