mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-25 23:59:01 +01:00
Fix zone determination
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1550 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
da3746e38f
commit
edfeb23ba7
@ -240,7 +240,7 @@ find_zones() # $1 = name of the zone file
|
||||
\#*)
|
||||
;;
|
||||
$FW)
|
||||
echo "Reserved zone name \"$zone\" in zones file ignored" >&2
|
||||
echo " Warning: Reserved zone name \"$zone\" in zones file ignored" >&2
|
||||
;;
|
||||
*)
|
||||
echo $zone
|
||||
@ -277,6 +277,8 @@ determine_zones()
|
||||
;;
|
||||
*)
|
||||
esac
|
||||
|
||||
[ ${#zone} -gt 5 ] && echo " Warning: Zone name longer than 5 characters: $zone" 2> /tmp/trace
|
||||
eval ${zone}_display=\$dsply
|
||||
newzones="$newzones $zone"
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user