summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-12-23 22:29:46 +0100
committerGitHub <noreply@github.com>2022-12-23 22:29:46 +0100
commit31d50f883929006c3e3a90395e481abefb0b0a1f (patch)
tree3a62f7bedccfc5702287c639b3287bda234f0285
parent60c80df479c0798b8832b58b668d31fa6bfeeab8 (diff)
parent71468176ab6b63b94f2fe24973de5979369924f3 (diff)
downloadvyos-1x-31d50f883929006c3e3a90395e481abefb0b0a1f.tar.gz
vyos-1x-31d50f883929006c3e3a90395e481abefb0b0a1f.zip
Merge pull request #1724 from sarthurdev/fw_mac
firewall: T2199: Add mac-address match to destination side
-rw-r--r--interface-definitions/include/firewall/common-rule.xml.i8
-rw-r--r--interface-definitions/include/firewall/rule-log-level.xml.i2
2 files changed, 9 insertions, 1 deletions
diff --git a/interface-definitions/include/firewall/common-rule.xml.i b/interface-definitions/include/firewall/common-rule.xml.i
index 75acefd96..3fe3ca872 100644
--- a/interface-definitions/include/firewall/common-rule.xml.i
+++ b/interface-definitions/include/firewall/common-rule.xml.i
@@ -1,6 +1,14 @@
<!-- include start from firewall/common-rule.xml.i -->
#include <include/firewall/action.xml.i>
#include <include/generic-description.xml.i>
+<node name="destination">
+ <properties>
+ <help>Destination parameters</help>
+ </properties>
+ <children>
+ #include <include/firewall/mac-address.xml.i>
+ </children>
+</node>
<leafNode name="disable">
<properties>
<help>Option to disable firewall rule</help>
diff --git a/interface-definitions/include/firewall/rule-log-level.xml.i b/interface-definitions/include/firewall/rule-log-level.xml.i
index 10c8de5e3..3ac473844 100644
--- a/interface-definitions/include/firewall/rule-log-level.xml.i
+++ b/interface-definitions/include/firewall/rule-log-level.xml.i
@@ -1,4 +1,4 @@
-<!-- include start from firewall/common-rule.xml.i -->
+<!-- include start from firewall/rule-log-level.xml.i -->
<leafNode name="log-level">
<properties>
<help>Set log-level. Log must be enable.</help>