diff options
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" |