summaryrefslogtreecommitdiff
path: root/interface-definitions/nat66.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-16 20:04:27 +0100
committerChristian Breunig <christian@breunig.cc>2023-11-16 20:07:40 +0100
commit777a2a249294cf275655adacc3cf66528e8d1fe1 (patch)
tree1236755b2b2e1fc970a41c99373d0bc2e1316611 /interface-definitions/nat66.xml.in
parent65df99de6bcaabdfb24e1a8fb0af9aacfdbc0b14 (diff)
downloadvyos-1x-777a2a249294cf275655adacc3cf66528e8d1fe1.tar.gz
vyos-1x-777a2a249294cf275655adacc3cf66528e8d1fe1.zip
xml: T5738: re-use "disable" building block
(cherry picked from commit 019723aaa4217403f1fcbcd636f573ea403f909c)
Diffstat (limited to 'interface-definitions/nat66.xml.in')
-rw-r--r--interface-definitions/nat66.xml.in14
1 files changed, 2 insertions, 12 deletions
diff --git a/interface-definitions/nat66.xml.in b/interface-definitions/nat66.xml.in
index 2fd95e03a..1518de8bd 100644
--- a/interface-definitions/nat66.xml.in
+++ b/interface-definitions/nat66.xml.in
@@ -25,12 +25,7 @@
</properties>
<children>
#include <include/generic-description.xml.i>
- <leafNode name="disable">
- <properties>
- <help>Disable NAT66 rule</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/generic-disable-node.xml.i>
#include <include/nat-exclude.xml.i>
#include <include/firewall/log.xml.i>
#include <include/firewall/outbound-interface-no-group.xml.i>
@@ -141,12 +136,7 @@
</properties>
<children>
#include <include/generic-description.xml.i>
- <leafNode name="disable">
- <properties>
- <help>Disable NAT66 rule</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/generic-disable-node.xml.i>
#include <include/nat-exclude.xml.i>
<leafNode name="log">
<properties>