summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/policy/route-map/node.tag/rule/node.tag/set/src/node.def6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/policy/route-map/node.tag/rule/node.tag/set/src/node.def b/templates/policy/route-map/node.tag/rule/node.tag/set/src/node.def
index 2fd2a759..16b55665 100644
--- a/templates/policy/route-map/node.tag/rule/node.tag/set/src/node.def
+++ b/templates/policy/route-map/node.tag/rule/node.tag/set/src/node.def
@@ -1,6 +1,8 @@
-type: ipv4
+type: txt
help: Source address for route
-val_help: IP address
+val_help: ipv4; IPv4 address
+val_help: ipv6; IPv6 address
+syntax:expression: exec "${vyos_libexec_dir}/validate-value.py --exec \"${vyos_validators_dir}/ipv4-address \" --exec \"${vyos_validators_dir}/ipv6-address \" --value \'$VAR(@)\'"; "Invalid value"
commit:expression: $VAR(../../action/) != ""; "you must specify an action"