diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-11 19:15:51 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-14 21:39:46 +0200 |
commit | 4d11715bd936d5d111bb3cd6e289ef2b3c3c218a (patch) | |
tree | 1ab899b54aa57d2e12dc60c4f6b0ef67af3b0b30 /src/validators | |
parent | 0ab290275fac027672eb9613500b8705ab64fe72 (diff) | |
download | vyos-1x-4d11715bd936d5d111bb3cd6e289ef2b3c3c218a.tar.gz vyos-1x-4d11715bd936d5d111bb3cd6e289ef2b3c3c218a.zip |
conntrack: T3535: migrate codebase from vyatta-conntrack-sync
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 |