summaryrefslogtreecommitdiffstats
path: root/repoman
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2019-11-08 11:37:15 +0100
committerIrina Gómez <irinagomez@us.es>2019-11-08 11:41:12 +0100
commit3df93abeaa9a24dcf9576606c515162fdb82b4a5 (patch)
tree7137b36fd84e846353a8abdcb20aca7fa534b711 /repoman
parentaed3308c1b5a60546f04de91561c816cc8ec99f4 (diff)
#914 sendFileMcast changes filter of multicast parameter by compatibility with awk in Ubuntu16.
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 9f6479c9..ff78d89f 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]+){3}$/ {v3=$3}
+ $3~/^[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*$/ {v3=$3}
$4~/^[0-9]+[mM]$/ {v4=tolower($4)}
$5~/^[0-9]+$/ {v5=$5}
$6~/^[0-9]+$/ {v6=$6}