summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/log.xml.i
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-11-10 19:26:35 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2023-11-10 19:26:35 +0000
commitc4409d6a4e11bf2acc7b5b96888e2c471c4559e5 (patch)
treec23aff0f073c54eb7a6e35a32df2bf27ed248d15 /interface-definitions/include/firewall/log.xml.i
parent1fcb8637f864e13c5208bed22f3a065b5d78f596 (diff)
downloadvyos-1x-c4409d6a4e11bf2acc7b5b96888e2c471c4559e5.tar.gz
vyos-1x-c4409d6a4e11bf2acc7b5b96888e2c471c4559e5.zip
T5729: firewall: switch to valueless in order to remove unnecessary <enable|disable> commands; log and state moved to new syntax.
Diffstat (limited to 'interface-definitions/include/firewall/log.xml.i')
-rw-r--r--interface-definitions/include/firewall/log.xml.i15
1 files changed, 4 insertions, 11 deletions
diff --git a/interface-definitions/include/firewall/log.xml.i b/interface-definitions/include/firewall/log.xml.i
index 46d20c1df..21b883e6a 100644
--- a/interface-definitions/include/firewall/log.xml.i
+++ b/interface-definitions/include/firewall/log.xml.i
@@ -1,15 +1,8 @@
<!-- include start from firewall/log.xml.i -->
-<node name="log">
+<leafNode name="log">
<properties>
- <help>Option to log packets</help>
+ <help>Enable log</help>
+ <valueless/>
</properties>
- <children>
- <leafNode name="enable">
- <properties>
- <help>Enable logging</help>
- <valueless/>
- </properties>
- </leafNode>
- </children>
-</node>
+</leafNode>
<!-- include end -->