summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/global-options.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-15 20:41:13 +0200
committerGitHub <noreply@github.com>2024-04-15 20:41:13 +0200
commitd8bca084a1f050a52bef46f5e1b589cbf89ce54d (patch)
tree31aaf14c1cb55852d8fe13d5992e0c37ddddaa3e /interface-definitions/include/firewall/global-options.xml.i
parent131bb134ec7f527ade19557cce62877e824a34bb (diff)
parent67bc10841f088e4ccabc30b1442b43f8d5902f5e (diff)
downloadvyos-1x-d8bca084a1f050a52bef46f5e1b589cbf89ce54d.tar.gz
vyos-1x-d8bca084a1f050a52bef46f5e1b589cbf89ce54d.zip
Merge pull request #3310 from vyos/mergify/bp/sagitta/pr-3309
T5535: firewall: migrate command <set system ip disable-directed-broadcast> to firewall global-optinos (backport #3309)
Diffstat (limited to 'interface-definitions/include/firewall/global-options.xml.i')
-rw-r--r--interface-definitions/include/firewall/global-options.xml.i20
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/include/firewall/global-options.xml.i b/interface-definitions/include/firewall/global-options.xml.i
index 415d85f05..9cd0b3239 100644
--- a/interface-definitions/include/firewall/global-options.xml.i
+++ b/interface-definitions/include/firewall/global-options.xml.i
@@ -44,6 +44,26 @@
</properties>
<defaultValue>disable</defaultValue>
</leafNode>
+ <leafNode name="directed-broadcast">
+ <properties>
+ <help>Policy for handling IPv4 directed broadcast forwarding on all interfaces</help>
+ <completionHelp>
+ <list>enable disable</list>
+ </completionHelp>
+ <valueHelp>
+ <format>enable</format>
+ <description>Enable IPv4 directed broadcast forwarding on all interfaces</description>
+ </valueHelp>
+ <valueHelp>
+ <format>disable</format>
+ <description>Disable IPv4 directed broadcast forwarding on all interfaces</description>
+ </valueHelp>
+ <constraint>
+ <regex>(enable|disable)</regex>
+ </constraint>
+ </properties>
+ <defaultValue>enable</defaultValue>
+ </leafNode>
<leafNode name="ip-src-route">
<properties>
<help>Policy for handling IPv4 packets with source route option</help>