summaryrefslogtreecommitdiffstats
path: root/repoman
diff options
context:
space:
mode:
Diffstat (limited to 'repoman')
-rwxr-xr-xrepoman/bin/sendFileMcast2
1 files changed, 1 insertions, 1 deletions
diff --git a/repoman/bin/sendFileMcast b/repoman/bin/sendFileMcast
index ff78d89f..7a238d53 100755
--- a/repoman/bin/sendFileMcast
+++ b/repoman/bin/sendFileMcast
@@ -41,7 +41,7 @@ PARAMS=$(echo "$2" | \
awk -F: '$1~/^[0-9]+$/ {v1=$1}
tolower($2)~/^half(-duplex)?$/ {v2="--half-duplex"}
tolower($2)~/^full(-duplex)?$/ {v2="--full-duplex"}
- $3~/^[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*$/ {v3=$3}
+ $3~/^[0-9]{1,3}(\.[0-9]{1,3}){3}$/ {v3=$3}
$4~/^[0-9]+[mM]$/ {v4=tolower($4)}
$5~/^[0-9]+$/ {v5=$5}
$6~/^[0-9]+$/ {v6=$6}