summaryrefslogtreecommitdiff
path: root/src/validators/ip-cidr
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-08-07 11:56:37 +0200
committerChristian Poessinger <christian@poessinger.com>2019-08-07 11:58:17 +0200
commit5d9f2b33059bf314cb3e400139066e2024200c31 (patch)
tree4ec2be88b3fdce4710168659bafaec5070c92f10 /src/validators/ip-cidr
parent445c615c4919e2b042c9f2f1b9b4a10194c23dd7 (diff)
downloadvyos-1x-5d9f2b33059bf314cb3e400139066e2024200c31.tar.gz
vyos-1x-5d9f2b33059bf314cb3e400139066e2024200c31.zip
Validator: rename cidr -> ip-cidr to match existing patterns
Diffstat (limited to 'src/validators/ip-cidr')
-rwxr-xr-xsrc/validators/ip-cidr3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/validators/ip-cidr b/src/validators/ip-cidr
new file mode 100755
index 000000000..987bf84ca
--- /dev/null
+++ b/src/validators/ip-cidr
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+ipaddrcheck --is-any-cidr $1