summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/set-packet-modifications-ttl.xml.i
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-10-04 12:21:51 +0100
committerGitHub <noreply@github.com>2024-10-04 12:21:51 +0100
commit2a46c1cfb229f0e473b91aeaf8dfd278527ccda6 (patch)
treec7b547b5ddd9f3a34d402cf09f22c238677ff087 /interface-definitions/include/firewall/set-packet-modifications-ttl.xml.i
parent43f646d6046e6edf62456f9e414cf1e1f1638e40 (diff)
parente846d2c1500df83742eb803684980396857cc0f1 (diff)
downloadvyos-1x-2a46c1cfb229f0e473b91aeaf8dfd278527ccda6.tar.gz
vyos-1x-2a46c1cfb229f0e473b91aeaf8dfd278527ccda6.zip
Merge pull request #4123 from nicolas-fort/fwall_set_commands
T6760: firewall: add packet modifications existing in policy route to regular firewall ruleset.
Diffstat (limited to 'interface-definitions/include/firewall/set-packet-modifications-ttl.xml.i')
-rwxr-xr-xinterface-definitions/include/firewall/set-packet-modifications-ttl.xml.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/set-packet-modifications-ttl.xml.i b/interface-definitions/include/firewall/set-packet-modifications-ttl.xml.i
new file mode 100755
index 000000000..e2f14050b
--- /dev/null
+++ b/interface-definitions/include/firewall/set-packet-modifications-ttl.xml.i
@@ -0,0 +1,21 @@
+<!-- include start from firewall/set-packet-modifications-ttl.xml.i -->
+<node name="set">
+ <properties>
+ <help>Packet modifications</help>
+ </properties>
+ <children>
+ <leafNode name="ttl">
+ <properties>
+ <help>Set TTL (time to live)</help>
+ <valueHelp>
+ <format>u32:0-255</format>
+ <description>TTL number</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-255"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+</node>
+<!-- include end -->