diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-08-04 15:50:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 15:50:09 +0200 |
commit | 8af312ecac8830cf0ff65232729daceff469394d (patch) | |
tree | 8e284541dbf71b7ada4c94a530df2d94f812473b /src/validators/ipv6-prefix-exclude | |
parent | 993961f60ead2a18912eb577b1152463d4eb8b4e (diff) | |
parent | ecc03bd6e499bfa071218aa70d325fcfcc191dec (diff) | |
download | vyos-1x-8af312ecac8830cf0ff65232729daceff469394d.tar.gz vyos-1x-8af312ecac8830cf0ff65232729daceff469394d.zip |
Merge pull request #1457 from sever-sever/T4586
nat66: T4586: Add SNAT destination prefix and DNAT address
Diffstat (limited to 'src/validators/ipv6-prefix-exclude')
-rwxr-xr-x | src/validators/ipv6-prefix-exclude | 7 |
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}" |