summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-15 12:44:12 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-15 12:44:12 +0200
commit2faceb16bc56f969eda2d1678a98f61fb1f4c23d (patch)
tree571fae53d5a5a741c83a137cda132d3cbd6b6e61 /interface-definitions
parentd3ae6304a3eabcddba36452e9519ca7b56bb38af (diff)
downloadvyos-1x-2faceb16bc56f969eda2d1678a98f61fb1f4c23d.tar.gz
vyos-1x-2faceb16bc56f969eda2d1678a98f61fb1f4c23d.zip
conntrack: T3275: bugfix XML generation
This commit fixes an error introduced by 43fcc0db0 ("conntrack: T3275: migrate 'disable' syntax to 'enable' syntax for the new default behavior") as the <valueless/> option can only be used on leafNodes. THis triggered the following build error: ValueError: <valueless/> is only allowed in <leafNode>
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/system-conntrack.xml.in28
1 files changed, 14 insertions, 14 deletions
diff --git a/interface-definitions/system-conntrack.xml.in b/interface-definitions/system-conntrack.xml.in
index c408e9bdd..daa4177c9 100644
--- a/interface-definitions/system-conntrack.xml.in
+++ b/interface-definitions/system-conntrack.xml.in
@@ -40,48 +40,48 @@
<help>Connection tracking modules</help>
</properties>
<children>
- <node name="ftp">
+ <leafNode name="ftp">
<properties>
<help>FTP connection tracking</help>
<valueless/>
</properties>
- </node>
- <node name="h323">
+ </leafNode>
+ <leafNode name="h323">
<properties>
<help>H.323 connection tracking</help>
<valueless/>
</properties>
- </node>
- <node name="nfs">
+ </leafNode>
+ <leafNode name="nfs">
<properties>
<help>NFS connection tracking</help>
<valueless/>
</properties>
- </node>
- <node name="pptp">
+ </leafNode>
+ <leafNode name="pptp">
<properties>
<help>PPTP connection tracking</help>
<valueless/>
</properties>
- </node>
- <node name="sip">
+ </leafNode>
+ <leafNode name="sip">
<properties>
<help>SIP connection tracking</help>
<valueless/>
</properties>
- </node>
- <node name="sqlnet">
+ </leafNode>
+ <leafNode name="sqlnet">
<properties>
<help>SQLnet connection tracking</help>
<valueless/>
</properties>
- </node>
- <node name="tftp">
+ </leafNode>
+ <leafNode name="tftp">
<properties>
<help>TFTP connection tracking</help>
<valueless/>
</properties>
- </node>
+ </leafNode>
</children>
</node>
<leafNode name="table-size">