diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-07-02 13:43:27 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2021-07-02 13:43:27 +0000 |
commit | 4e1a5c7cf4213fd5617e387a2d4a6d1e9a475c54 (patch) | |
tree | 59219bc423e0b53e5c39f697c5696d18d676e60b /src/validators | |
parent | cef8147afd1d031c91cc90b7642aad8ae372c81b (diff) | |
download | vyos-1x-4e1a5c7cf4213fd5617e387a2d4a6d1e9a475c54.tar.gz vyos-1x-4e1a5c7cf4213fd5617e387a2d4a6d1e9a475c54.zip |
conntrack-sync: T3535: Rewrite conf and op modes to XML python style
Diffstat (limited to 'src/validators')
-rwxr-xr-x | src/validators/ipv4 | 3 | ||||
-rwxr-xr-x | src/validators/ipv4-multicast | 3 | ||||
-rwxr-xr-x | src/validators/ipv6-multicast | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/validators/ipv4 b/src/validators/ipv4 new file mode 100755 index 000000000..53face090 --- /dev/null +++ b/src/validators/ipv4 @@ -0,0 +1,3 @@ +#!/bin/sh + +ipaddrcheck --is-ipv4 $1 diff --git a/src/validators/ipv4-multicast b/src/validators/ipv4-multicast new file mode 100755 index 000000000..e5cbc9532 --- /dev/null +++ b/src/validators/ipv4-multicast @@ -0,0 +1,3 @@ +#!/bin/sh + +ipaddrcheck --is-ipv4-multicast $1 diff --git a/src/validators/ipv6-multicast b/src/validators/ipv6-multicast new file mode 100755 index 000000000..66cd90c9c --- /dev/null +++ b/src/validators/ipv6-multicast @@ -0,0 +1,3 @@ +#!/bin/sh + +ipaddrcheck --is-ipv6-multicast $1 |