Fix typo in last patch

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3187 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-12-20 19:24:53 +00:00
parent 803720a8cc
commit f91f118c2a

View File

@ -3021,8 +3021,7 @@ setup_nat() {
do_one_nat() { do_one_nat() {
local add_ip_aliases=$ADD_IP_ALIASES iface=${interface%:*} local add_ip_aliases=$ADD_IP_ALIASES iface=${interface%:*}
if [ -n "$ if [ -n "$add_ip_aliases" ]; then
_aliases" ]; then
case $interface in case $interface in
*:) *:)
interface=${interface%:} interface=${interface%:}