diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-01-01 12:21:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-01 12:21:40 +0200 |
commit | 4519506c6f5360c73c0342e049d716465857802e (patch) | |
tree | 55464d0c6e1b632c2ba384e47fd9b568f8d11958 /interface-definitions/include | |
parent | 15e55e4ea9201d9cb2e64c63fd109c9b98509947 (diff) | |
parent | 66ce19058b7b8597536ddf63bbca027add2ca8a1 (diff) | |
download | vyos-1x-4519506c6f5360c73c0342e049d716465857802e.tar.gz vyos-1x-4519506c6f5360c73c0342e049d716465857802e.zip |
Merge pull request #2728 from c-po/verify-T5880
T5880: verify_source_interface() should not allow dynamic interfaces like ppp, l2tp, ipoe or sstpc client interfaces
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/constraint/interface-name.xml.i | 2 |
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 --> |