Commit 934ea5b7 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis

Fix typo in clear_bridged_setup_firewall

Use $oldchain instead of $chain.
Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent 2a11974f
......@@ -82,10 +82,10 @@ function clear_routed_setup_firewall {
function clear_bridged_setup_firewall {
for oldchain in protected unprotected limited; do
iptables -D FORWARD -m physdev --physdev-out $INTERFACE -j $chain
iptables -D FORWARD -m physdev --physdev-out $INTERFACE -j $chain -m comment --comment "snf-network_firewall"
ip6tables -D FORWARD -m physdev --physdev-out $INTERFACE -j $chain
ip6tables -D FORWARD -m physdev --physdev-out $INTERFACE -j $chain -m comment --comment "snf-network_firewall"
iptables -D FORWARD -m physdev --physdev-out $INTERFACE -j $oldchain
iptables -D FORWARD -m physdev --physdev-out $INTERFACE -j $oldchain -m comment --comment "snf-network_firewall"
ip6tables -D FORWARD -m physdev --physdev-out $INTERFACE -j $oldchain
ip6tables -D FORWARD -m physdev --physdev-out $INTERFACE -j $oldchain -m comment --comment "snf-network_firewall"
done
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment