summaryrefslogtreecommitdiff
path: root/templates-cfg/nat/destination/rule
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-11-26 03:49:54 -0500
committerDaniil Baturin <daniil@vyos.io>2021-11-26 03:49:54 -0500
commitc1cb17c22c211a5284051f60dc9dfc24066afdde (patch)
treef0d49db560eb32ffb72f5505cc19b81669928df0 /templates-cfg/nat/destination/rule
parent9140ca4958d2be589e879c009612a2664aab65c6 (diff)
downloadvyatta-nat-c1cb17c22c211a5284051f60dc9dfc24066afdde.tar.gz
vyatta-nat-c1cb17c22c211a5284051f60dc9dfc24066afdde.zip
T1083: fix the validate-value path for Crux1.2.9-S1crux
Diffstat (limited to 'templates-cfg/nat/destination/rule')
-rw-r--r--templates-cfg/nat/destination/rule/node.tag/translation/options/address-mapping/node.def2
1 files changed, 1 insertions, 1 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"