summaryrefslogtreecommitdiff
path: root/interface-definitions/nat.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-07 17:25:30 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-07 17:25:58 +0100
commit582f52764afce78b9be0d95b88f6dc8d0bff9690 (patch)
tree247dae4f9ae18a34dc1b8582d1860092b6d3fff2 /interface-definitions/nat.xml.in
parente426b103b803b61e6593e1662c470d0f23a9a36f (diff)
downloadvyos-1x-582f52764afce78b9be0d95b88f6dc8d0bff9690.tar.gz
vyos-1x-582f52764afce78b9be0d95b88f6dc8d0bff9690.zip
xml: include: provide generic include for disable node
Diffstat (limited to 'interface-definitions/nat.xml.in')
-rw-r--r--interface-definitions/nat.xml.in7
1 files changed, 1 insertions, 6 deletions
diff --git a/interface-definitions/nat.xml.in b/interface-definitions/nat.xml.in
index 00aaddb17..d6bed5b27 100644
--- a/interface-definitions/nat.xml.in
+++ b/interface-definitions/nat.xml.in
@@ -79,12 +79,7 @@
<help>Rule description</help>
</properties>
</leafNode>
- <leafNode name="disable">
- <properties>
- <help>Disable NAT rule</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/generic-disable-node.xml.i>
#include <include/nat-interface.xml.i>
<node name="source">
<properties>