diff options
author | Daniil Baturin <daniil@vyos.io> | 2021-11-26 03:49:54 -0500 |
---|---|---|
committer | Daniil Baturin <daniil@vyos.io> | 2021-11-26 03:49:54 -0500 |
commit | c1cb17c22c211a5284051f60dc9dfc24066afdde (patch) | |
tree | f0d49db560eb32ffb72f5505cc19b81669928df0 | |
parent | 9140ca4958d2be589e879c009612a2664aab65c6 (diff) | |
download | vyatta-nat-c1cb17c22c211a5284051f60dc9dfc24066afdde.tar.gz vyatta-nat-c1cb17c22c211a5284051f60dc9dfc24066afdde.zip |
3 files changed, 3 insertions, 3 deletions
diff --git a/templates-cfg/nat/destination/rule/node.tag/translation/options/address-mapping/node.def b/templates-cfg/nat/destination/rule/node.tag/translation/options/address-mapping/node.def index cf3df56..cf8ad23 100644 --- a/templates-cfg/nat/destination/rule/node.tag/translation/options/address-mapping/node.def +++ b/templates-cfg/nat/destination/rule/node.tag/translation/options/address-mapping/node.def @@ -3,4 +3,4 @@ help: Address mapping options val_help: persistent; Gives a client the same source or destination-address for each connection val_help: random; Random source or destination address allocation for each connection (defaut) allowed: echo "persistent random" -syntax:expression: exec "${vyos_libexec_dir}/validate-value --regex \'^(persistent|random)$\' --value \'$VAR(@)\'"; "Invalid value" +syntax:expression: exec "${vyos_libexec_dir}/validate-value.py --regex \'^(persistent|random)$\' --value \'$VAR(@)\'"; "Invalid value" diff --git a/templates-cfg/nat/source/rule/node.tag/translation/options/address-mapping/node.def b/templates-cfg/nat/source/rule/node.tag/translation/options/address-mapping/node.def index cf3df56..cf8ad23 100644 --- a/templates-cfg/nat/source/rule/node.tag/translation/options/address-mapping/node.def +++ b/templates-cfg/nat/source/rule/node.tag/translation/options/address-mapping/node.def @@ -3,4 +3,4 @@ help: Address mapping options val_help: persistent; Gives a client the same source or destination-address for each connection val_help: random; Random source or destination address allocation for each connection (defaut) allowed: echo "persistent random" -syntax:expression: exec "${vyos_libexec_dir}/validate-value --regex \'^(persistent|random)$\' --value \'$VAR(@)\'"; "Invalid value" +syntax:expression: exec "${vyos_libexec_dir}/validate-value.py --regex \'^(persistent|random)$\' --value \'$VAR(@)\'"; "Invalid value" diff --git a/templates-cfg/nat/source/rule/node.tag/translation/options/port-mapping/node.def b/templates-cfg/nat/source/rule/node.tag/translation/options/port-mapping/node.def index 72f7d48..6e9351f 100644 --- a/templates-cfg/nat/source/rule/node.tag/translation/options/port-mapping/node.def +++ b/templates-cfg/nat/source/rule/node.tag/translation/options/port-mapping/node.def @@ -3,4 +3,4 @@ help: Port mapping options val_help: random; Randomize source port mapping val_help: none; Do not apply port randomization (default) allowed: echo "random none" -syntax:expression: exec "${vyos_libexec_dir}/validate-value --regex \'^(random|none)$\' --value \'$VAR(@)\'"; "Invalid value" +syntax:expression: exec "${vyos_libexec_dir}/validate-value.py --regex \'^(random|none)$\' --value \'$VAR(@)\'"; "Invalid value" |