summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/common-rule-inet.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-05 20:20:27 +0100
committerChristian Breunig <christian@breunig.cc>2024-03-05 20:20:27 +0100
commit21b0bf0168697fdbe514ae49a4a28b39a91ec777 (patch)
treee8d0606019c561c33ff8874b48318f5a1ba1eead /interface-definitions/include/firewall/common-rule-inet.xml.i
parent450bb16795305e32e46b21da4bb5913843d9d871 (diff)
downloadvyos-1x-21b0bf0168697fdbe514ae49a4a28b39a91ec777.tar.gz
vyos-1x-21b0bf0168697fdbe514ae49a4a28b39a91ec777.zip
xml: T5738: use generic-disable-node building block for "disable" CLI nodes
Make the code more uniform and maintainable.
Diffstat (limited to 'interface-definitions/include/firewall/common-rule-inet.xml.i')
-rw-r--r--interface-definitions/include/firewall/common-rule-inet.xml.i7
1 files changed, 1 insertions, 6 deletions
diff --git a/interface-definitions/include/firewall/common-rule-inet.xml.i b/interface-definitions/include/firewall/common-rule-inet.xml.i
index 85189d975..bef1c3da5 100644
--- a/interface-definitions/include/firewall/common-rule-inet.xml.i
+++ b/interface-definitions/include/firewall/common-rule-inet.xml.i
@@ -7,12 +7,7 @@
#include <include/firewall/connection-mark.xml.i>
#include <include/firewall/conntrack-helper.xml.i>
#include <include/firewall/nft-queue.xml.i>
-<leafNode name="disable">
- <properties>
- <help>Option to disable firewall rule</help>
- <valueless/>
- </properties>
-</leafNode>
+#include <include/generic-disable-node.xml.i>
<node name="fragment">
<properties>
<help>IP fragment match</help>