From 0b545b92b7ea7983fb2eb9407acc4719b151ddbc Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 5 Jul 2003 23:41:41 +0000 Subject: [PATCH] Correct handling of DNS names with embedded '-' git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@642 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Shorewall/functions b/Shorewall/functions index 494c75c26..b2d5e0a0d 100755 --- a/Shorewall/functions +++ b/Shorewall/functions @@ -274,7 +274,7 @@ ip_range() { local last case $1 in - *-*) + *.*.*.*-*.*.*.*) ;; *) echo $1 @@ -366,3 +366,4 @@ ip_vlsm() { echo $vlsm fi } +