summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-25 22:30:34 +0100
committerChristian Poessinger <christian@poessinger.com>2022-02-25 22:30:36 +0100
commit0daf168d3d7583984431de2ef97682ff4c986f74 (patch)
treed6393f4f9037aaada3c161afa0d2283b8f2c83c1 /interface-definitions
parentae51162283826e1a510aed1609778eb0223c8462 (diff)
downloadvyos-1x-0daf168d3d7583984431de2ef97682ff4c986f74.tar.gz
vyos-1x-0daf168d3d7583984431de2ef97682ff4c986f74.zip
zone-policy: T2199: bugfix defaultValue usage
Instead of hardcoding the default behavior inside the Jinaj2 template, all defaults are required to be specified inside teh XML definition. This is required to automatically render the appropriate CLI tab completion commands.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/zone-policy.xml.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/zone-policy.xml.in b/interface-definitions/zone-policy.xml.in
index b898c3ecd..eac63fa6b 100644
--- a/interface-definitions/zone-policy.xml.in
+++ b/interface-definitions/zone-policy.xml.in
@@ -37,6 +37,7 @@
<regex>^(drop|reject)$</regex>
</constraint>
</properties>
+ <defaultValue>drop</defaultValue>
</leafNode>
<tagNode name="from">
<properties>