From 063caa5acbcf6b74f89520652fef9c84c877506c Mon Sep 17 00:00:00 2001 From: "Ramón M. Gómez" Date: Fri, 8 Nov 2019 14:32:11 +0100 Subject: #914: Reverting commit `3df93ab` and using GAWK for regex compatibility. --- repoman/bin/sendFileMcast | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repoman/bin') 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} -- cgit v1.2.3-18-g5258