diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2019-11-08 14:32:11 +0100 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2019-11-08 14:32:11 +0100 |
commit | 063caa5acbcf6b74f89520652fef9c84c877506c (patch) | |
tree | 273614ced7b098903da2fe21e197bbb879cadc63 /repoman | |
parent | cf701e946ff4d14c0e66cc4e9ff10e023ef7391a (diff) |
#914: Reverting commit `3df93ab` and using GAWK for regex compatibility.
Diffstat (limited to 'repoman')
-rwxr-xr-x | repoman/bin/sendFileMcast | 2 |
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} |