summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-03 11:51:27 +0100
committerGitHub <noreply@github.com>2024-01-03 11:51:27 +0100
commit48f2a0a8d2fe182f057a09e0af7ed78746a223a2 (patch)
treea8ac8e975d10c8b764cecea94490a20e6588f6cb /interface-definitions
parent03a74692b4ac5d7e8d31976676af8930ac7c84ac (diff)
parentd61f5a269b17b4926ad848a14786ef7291ec0352 (diff)
downloadvyos-1x-48f2a0a8d2fe182f057a09e0af7ed78746a223a2.tar.gz
vyos-1x-48f2a0a8d2fe182f057a09e0af7ed78746a223a2.zip
Merge pull request #2732 from vyos/mergify/bp/sagitta/pr-2728
T5880: verify_source_interface() should not allow dynamic interfaces like ppp, l2tp, ipoe or sstpc client interfaces (backport #2728)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/constraint/interface-name.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/constraint/interface-name.xml.i b/interface-definitions/include/constraint/interface-name.xml.i
index 1b14eabf5..3e7c4e667 100644
--- a/interface-definitions/include/constraint/interface-name.xml.i
+++ b/interface-definitions/include/constraint/interface-name.xml.i
@@ -1,4 +1,4 @@
<!-- include start from constraint/interface-name.xml.i -->
-<regex>(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]+(.\d+)?|lo</regex>
+<regex>(bond|br|dum|en|ersp|eth|gnv|ifb|ipoe|lan|l2tp|l2tpeth|macsec|peth|ppp|pppoe|pptp|sstp|sstpc|tun|veth|vti|vtun|vxlan|wg|wlan|wwan)[0-9]+(.\d+)?|lo</regex>
<validator name="file-path --lookup-path /sys/class/net --directory"/>
<!-- include end -->