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:
teastep 2004-08-17 18:12:04 +00:00
parent da3746e38f
commit edfeb23ba7

View File

@ -240,7 +240,7 @@ find_zones() # $1 = name of the zone file
\#*) \#*)
;; ;;
$FW) $FW)
echo "Reserved zone name \"$zone\" in zones file ignored" >&2 echo " Warning: Reserved zone name \"$zone\" in zones file ignored" >&2
;; ;;
*) *)
echo $zone echo $zone
@ -277,6 +277,8 @@ determine_zones()
;; ;;
*) *)
esac esac
[ ${#zone} -gt 5 ] && echo " Warning: Zone name longer than 5 characters: $zone" 2> /tmp/trace
eval ${zone}_display=\$dsply eval ${zone}_display=\$dsply
newzones="$newzones $zone" newzones="$newzones $zone"
done done