From 3df93abeaa9a24dcf9576606c515162fdb82b4a5 Mon Sep 17 00:00:00 2001 From: Irina Gómez Date: Fri, 8 Nov 2019 11:37:15 +0100 Subject: #914 sendFileMcast changes filter of multicast parameter by compatibility with awk in Ubuntu16. --- repoman/bin/sendFileMcast | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- cgit v1.2.3-18-g5258