summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/common-rule-ipv4-raw.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-05 20:20:27 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-03-05 19:23:48 +0000
commit390e543780b56f98dca3172345ce783819222da8 (patch)
tree919d98f2d08be6a81cfa7193a3586ace6210cd8b /interface-definitions/include/firewall/common-rule-ipv4-raw.xml.i
parent999cbce33bf40cc37232d2a54a47185d1292f5d0 (diff)
downloadvyos-1x-390e543780b56f98dca3172345ce783819222da8.tar.gz
vyos-1x-390e543780b56f98dca3172345ce783819222da8.zip
xml: T5738: use generic-disable-node building block for "disable" CLI nodes
Make the code more uniform and maintainable. (cherry picked from commit 21b0bf0168697fdbe514ae49a4a28b39a91ec777)
Diffstat (limited to 'interface-definitions/include/firewall/common-rule-ipv4-raw.xml.i')
-rw-r--r--interface-definitions/include/firewall/common-rule-ipv4-raw.xml.i7
1 files changed, 1 insertions, 6 deletions
diff --git a/interface-definitions/include/firewall/common-rule-ipv4-raw.xml.i b/interface-definitions/include/firewall/common-rule-ipv4-raw.xml.i
index 0d749aa27..e7468bfba 100644
--- a/interface-definitions/include/firewall/common-rule-ipv4-raw.xml.i
+++ b/interface-definitions/include/firewall/common-rule-ipv4-raw.xml.i
@@ -18,12 +18,7 @@
#include <include/firewall/source-destination-group.xml.i>
</children>
</node>
-<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>