mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-23 05:01:34 +01:00
Remove extraneous semicolons
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6356 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
9435949570
commit
b586281b6e
@ -186,7 +186,7 @@ add_to_zone() # $1...${n-1} = <interface>[:<hosts>] $n = zone
|
|||||||
eval dest_hosts=\"\$${z2}_hosts\"
|
eval dest_hosts=\"\$${z2}_hosts\"
|
||||||
|
|
||||||
for h in $dest_hosts; do
|
for h in $dest_hosts; do
|
||||||
[ "$h" = exclude ] && break;
|
[ "$h" = exclude ] && break
|
||||||
iface=${h%%:*}
|
iface=${h%%:*}
|
||||||
iface=${iface#+}
|
iface=${iface#+}
|
||||||
hosts=${h#*:}
|
hosts=${h#*:}
|
||||||
@ -207,7 +207,7 @@ add_to_zone() # $1...${n-1} = <interface>[:<hosts>] $n = zone
|
|||||||
eval source_hosts=\"\$${z1}_hosts\"
|
eval source_hosts=\"\$${z1}_hosts\"
|
||||||
|
|
||||||
for h in $source_hosts; do
|
for h in $source_hosts; do
|
||||||
[ "$h" = exclude ] && break;
|
[ "$h" = exclude ] && break
|
||||||
iface=${h%%:*}
|
iface=${h%%:*}
|
||||||
iface=${iface#+}
|
iface=${iface#+}
|
||||||
hosts=${h#*:}
|
hosts=${h#*:}
|
||||||
@ -377,7 +377,7 @@ delete_from_zone() # $1 = <interface>[:<hosts>] $2 = zone
|
|||||||
[ "$z2" = "$zone" ] && dest_hosts="$dest_hosts $hostlist"
|
[ "$z2" = "$zone" ] && dest_hosts="$dest_hosts $hostlist"
|
||||||
|
|
||||||
for h in $dest_hosts; do
|
for h in $dest_hosts; do
|
||||||
[ "$h" = exclude ] && break;
|
[ "$h" = exclude ] && break
|
||||||
iface=${h%%:*}
|
iface=${h%%:*}
|
||||||
iface=${iface#+}
|
iface=${iface#+}
|
||||||
hosts=${h#*:}
|
hosts=${h#*:}
|
||||||
@ -395,7 +395,7 @@ delete_from_zone() # $1 = <interface>[:<hosts>] $2 = zone
|
|||||||
eval source_hosts=\"\$${z1}_hosts\"
|
eval source_hosts=\"\$${z1}_hosts\"
|
||||||
|
|
||||||
for h in $source_hosts; do
|
for h in $source_hosts; do
|
||||||
[ "$h" = exclude ] && break;
|
[ "$h" = exclude ] && break
|
||||||
iface=${h%%:*}
|
iface=${h%%:*}
|
||||||
iface=${iface#+}
|
iface=${iface#+}
|
||||||
hosts=${h#*:}
|
hosts=${h#*:}
|
||||||
|
Loading…
Reference in New Issue
Block a user