Some minor changes on script output.

This commit is contained in:
Christoph 2017-08-15 14:42:27 +02:00
parent 6966eff903
commit f362a8dfc1
2 changed files with 10 additions and 2 deletions

View File

@ -146,13 +146,14 @@ echo
# --- Prevent bridged traffic getting pushed through the host's iptables rules
# -------------
echononl "\tPrevent bridged traffic getting pushed through the host's iptables rules"
echononl "\tDo not firewall bridged traffic"
if $do_not_firewall_bridged_traffic ; then
$ip6t -I FORWARD -m physdev --physdev-is-bridged -j ACCEPT
echo_done
else
echo_skipped
fi
echo
@ -162,6 +163,9 @@ fi
case $1 in
flush)
echo
echo -e "\t\033[37m\033[1mFlushing firewall was requested. No more rules..\033[m"
echo
exit 0;;
esac

View File

@ -225,13 +225,14 @@ echo
# --- Prevent bridged traffic getting pushed through the host's iptables rules
# -------------
echononl "\tPrevent bridged traffic getting pushed through the host's iptables rules"
echononl "\tDo not firewall bridged traffic"
if $do_not_firewall_bridged_traffic ; then
$ipt -I FORWARD -m physdev --physdev-is-bridged -j ACCEPT
echo_done
else
echo_skipped
fi
echo
@ -241,6 +242,9 @@ fi
case $1 in
flush)
echo
echo -e "\t\033[37m\033[1mFlushing firewall was requested. No more rules..\033[m"
echo
exit 0;;
esac