summaryrefslogtreecommitdiff
path: root/src/validators/ipv6-srv6-segments
diff options
context:
space:
mode:
Diffstat (limited to 'src/validators/ipv6-srv6-segments')
-rwxr-xr-xsrc/validators/ipv6-srv6-segments2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validators/ipv6-srv6-segments b/src/validators/ipv6-srv6-segments
index b2199f833..e72a4f90f 100755
--- a/src/validators/ipv6-srv6-segments
+++ b/src/validators/ipv6-srv6-segments
@@ -3,7 +3,7 @@ segments="$1"
export IFS="/"
for ipv6addr in $segments; do
- ipaddrcheck --is-ipv6-single "$ipv6addr"
+ ipaddrcheck --is-ipv6-single $ipv6addr
if [ $? -gt 0 ]; then
echo "Error: $1 is not a valid IPv6 address"
exit 1