mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 15:43:30 +01:00
Give warning on zone name beginning with a digit
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2119 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
4636a5df0d
commit
9faf321c52
@ -247,6 +247,9 @@ find_zones() # $1 = name of the zone file
|
||||
{
|
||||
while read zone display comments; do
|
||||
[ -n "$zone" ] && case "$zone" in
|
||||
[0-9*])
|
||||
echo " Warning: Illegal zone name \"$zone\" in zones file ignored" 2>&2
|
||||
;;
|
||||
\#*)
|
||||
;;
|
||||
$FW|all|none)
|
||||
|
Loading…
Reference in New Issue
Block a user