diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-01-19 18:56:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 18:56:03 +0100 |
commit | 569dfa77f07cb707dec4b29ed3e2a350e214af80 (patch) | |
tree | 45d677925805c564fc2ccb24a64488599fc99e08 /interface-definitions/include/policy | |
parent | 10a740096edb5879ed79dd20db1a5f5bfaae6154 (diff) | |
parent | 0a5a78621b2b28f06af1f40c10ee8bb880f860a0 (diff) | |
download | vyos-1x-569dfa77f07cb707dec4b29ed3e2a350e214af80.tar.gz vyos-1x-569dfa77f07cb707dec4b29ed3e2a350e214af80.zip |
Merge pull request #1177 from sarthurdev/mac_groups
firewall: T3560: Add support for MAC address groups
Diffstat (limited to 'interface-definitions/include/policy')
-rw-r--r-- | interface-definitions/include/policy/route-common-rule-ipv6.xml.i | 3 | ||||
-rw-r--r-- | interface-definitions/include/policy/route-common-rule.xml.i | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/include/policy/route-common-rule-ipv6.xml.i b/interface-definitions/include/policy/route-common-rule-ipv6.xml.i index 735edbd48..406125e55 100644 --- a/interface-definitions/include/policy/route-common-rule-ipv6.xml.i +++ b/interface-definitions/include/policy/route-common-rule-ipv6.xml.i @@ -232,6 +232,9 @@ <format>!<MAC address></format> <description>Match everything except the specified MAC address</description> </valueHelp> + <constraint> + <validator name="mac-address-firewall"/> + </constraint> </properties> </leafNode> #include <include/firewall/port.xml.i> diff --git a/interface-definitions/include/policy/route-common-rule.xml.i b/interface-definitions/include/policy/route-common-rule.xml.i index 4452f78fc..33c4ba77c 100644 --- a/interface-definitions/include/policy/route-common-rule.xml.i +++ b/interface-definitions/include/policy/route-common-rule.xml.i @@ -232,6 +232,9 @@ <format>!<MAC address></format> <description>Match everything except the specified MAC address</description> </valueHelp> + <constraint> + <validator name="mac-address-firewall"/> + </constraint> </properties> </leafNode> #include <include/firewall/port.xml.i> |