mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 06:38:53 +01:00
Correct handling of DNS names with embedded '-'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@642 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
2ab4292383
commit
0b545b92b7
@ -274,7 +274,7 @@ ip_range() {
|
|||||||
local last
|
local last
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
*-*)
|
*.*.*.*-*.*.*.*)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo $1
|
echo $1
|
||||||
@ -366,3 +366,4 @@ ip_vlsm() {
|
|||||||
echo $vlsm
|
echo $vlsm
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user