From 02db800b3aaa4b5c7de5564271c0ea37e895915a Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Mon, 8 Jan 2024 11:05:56 +0000 Subject: T5896: firewall: backport interface validator for firewall rules. --- .../constraint/interface-name-with-wildcard-and-inverted.xml.i | 4 ---- interface-definitions/include/firewall/match-interface.xml.i | 6 ++++-- 2 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 interface-definitions/include/constraint/interface-name-with-wildcard-and-inverted.xml.i (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/constraint/interface-name-with-wildcard-and-inverted.xml.i b/interface-definitions/include/constraint/interface-name-with-wildcard-and-inverted.xml.i deleted file mode 100644 index 6a39041a3..000000000 --- a/interface-definitions/include/constraint/interface-name-with-wildcard-and-inverted.xml.i +++ /dev/null @@ -1,4 +0,0 @@ - -(\!?)(bond|br|dum|en|ersp|eth|gnv|ifb|lan|l2tp|l2tpeth|macsec|peth|ppp|pppoe|pptp|sstp|tun|veth|vti|vtun|vxlan|wg|wlan|wwan)([0-9]?)(\*?)(.+)?|(\!?)lo - - \ No newline at end of file diff --git a/interface-definitions/include/firewall/match-interface.xml.i b/interface-definitions/include/firewall/match-interface.xml.i index 8be97c3ed..9f720ab37 100644 --- a/interface-definitions/include/firewall/match-interface.xml.i +++ b/interface-definitions/include/firewall/match-interface.xml.i @@ -4,6 +4,7 @@ Match interface + vrf name txt @@ -18,7 +19,8 @@ Inverted interface name to match - #include + (\!?)(bond|br|dum|en|ersp|eth|gnv|ifb|lan|l2tp|l2tpeth|macsec|peth|ppp|pppoe|pptp|sstp|tun|veth|vti|vtun|vxlan|wg|wlan|wwan)([0-9]?)(\*?)(.+)?|(\!?)lo + @@ -38,4 +40,4 @@ - \ No newline at end of file + -- cgit v1.2.3