diff options
Diffstat (limited to 'src/validators/ipv4-range')
-rwxr-xr-x | src/validators/ipv4-range | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validators/ipv4-range b/src/validators/ipv4-range index 56de64e66..6492bfc52 100755 --- a/src/validators/ipv4-range +++ b/src/validators/ipv4-range @@ -18,12 +18,12 @@ if [[ "$1" =~ "-" ]]; then # hyphen as delimiter readarray -d - -t strarr <<< $1 - ipaddrcheck --is-ipv4-single "${strarr[0]}" + ipaddrcheck --is-ipv4-single ${strarr[0]} if [ $? -gt 0 ]; then error_exit $1 fi - ipaddrcheck --is-ipv4-single "${strarr[1]}" + ipaddrcheck --is-ipv4-single ${strarr[1]} if [ $? -gt 0 ]; then error_exit $1 fi |