summaryrefslogtreecommitdiff
path: root/interface-definitions/firewall.xml.in
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2022-09-01 19:08:37 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2022-09-01 19:08:37 +0000
commit312ee15058fbb26feb6a93520417f0d5343ad15b (patch)
treea08e7e47735de7ad136cc618ffa46054237476b8 /interface-definitions/firewall.xml.in
parent37cfa8cdb1c6a1d395109aabd3ee29e83db151da (diff)
downloadvyos-1x-312ee15058fbb26feb6a93520417f0d5343ad15b.tar.gz
vyos-1x-312ee15058fbb26feb6a93520417f0d5343ad15b.zip
Firewall: T4651: Change proposed cli from ip-length to packet-length
Diffstat (limited to 'interface-definitions/firewall.xml.in')
-rw-r--r--interface-definitions/firewall.xml.in42
1 files changed, 2 insertions, 40 deletions
diff --git a/interface-definitions/firewall.xml.in b/interface-definitions/firewall.xml.in
index f838f1b88..ed84acbb7 100644
--- a/interface-definitions/firewall.xml.in
+++ b/interface-definitions/firewall.xml.in
@@ -383,26 +383,7 @@
</children>
</node>
#include <include/firewall/common-rule.xml.i>
- <leafNode name="ip-length">
- <properties>
- <help>Payload size in bytes, including any extension header</help>
- <valueHelp>
- <format>u32:1-65535</format>
- <description>Numbered packet length</description>
- </valueHelp>
- <valueHelp>
- <format>&lt;start-end&gt;</format>
- <description>Packet length range (e.g. 1001-1005)</description>
- </valueHelp>
- <valueHelp>
- <format> </format>
- <description>\n\n Multiple values can be specified as a comma-separated list.\n For example: '64, 512,1001-1005'</description>
- </valueHelp>
- <constraint>
- <validator name="ip-length"/>
- </constraint>
- </properties>
- </leafNode>
+ #include <include/firewall/packet-length.xml.i>
<node name="hop-limit">
<properties>
<help>Hop Limit</help>
@@ -591,26 +572,7 @@
</children>
</node>
#include <include/firewall/common-rule.xml.i>
- <leafNode name="ip-length">
- <properties>
- <help>Packet size in bytes, including header and data</help>
- <valueHelp>
- <format>u32:1-65535</format>
- <description>Numbered packet length</description>
- </valueHelp>
- <valueHelp>
- <format>&lt;start-end&gt;</format>
- <description>Packet length range (e.g. 1001-1005)</description>
- </valueHelp>
- <valueHelp>
- <format> </format>
- <description>\n\n Multiple values can be specified as a comma-separated list.\n For example: '64, 512,1001-1005'</description>
- </valueHelp>
- <constraint>
- <validator name="ip-length"/>
- </constraint>
- </properties>
- </leafNode>
+ #include <include/firewall/packet-length.xml.i>
<node name="icmp">
<properties>
<help>ICMP type and code information</help>