From f972a40b63f29a9b52069d8aaf5f730540fc0d06 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Fri, 27 Sep 2024 14:54:20 +0100 Subject: validators: T6739: correctly quote ipaddrcheck arguments to avoid ipaddrcheck syntax errors when values include whitespace --- src/validators/interface-address | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/validators/interface-address') diff --git a/src/validators/interface-address b/src/validators/interface-address index 4c203956b..2a2583fc3 100755 --- a/src/validators/interface-address +++ b/src/validators/interface-address @@ -1,3 +1,3 @@ #!/bin/sh -ipaddrcheck --is-ipv4-host $1 || ipaddrcheck --is-ipv6-host $1 +ipaddrcheck --is-any-host "$1" -- cgit v1.2.3