summaryrefslogtreecommitdiff
path: root/src/validators/ipv6-prefix-exclude
diff options
context:
space:
mode:
Diffstat (limited to 'src/validators/ipv6-prefix-exclude')
-rwxr-xr-xsrc/validators/ipv6-prefix-exclude7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/validators/ipv6-prefix-exclude b/src/validators/ipv6-prefix-exclude
new file mode 100755
index 000000000..6fa4f1d8d
--- /dev/null
+++ b/src/validators/ipv6-prefix-exclude
@@ -0,0 +1,7 @@
+#!/bin/sh
+arg="$1"
+if [ "${arg:0:1}" != "!" ]; then
+ exit 1
+fi
+path=$(dirname "$0")
+${path}/ipv6-prefix "${arg:1}"