summaryrefslogtreecommitdiff
path: root/src/validators/interface-name
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-18 08:44:05 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-19 08:33:29 +0100
commitb0b03e21d24411c5a994d8e5c8009f39d9b6f639 (patch)
treec46ee27e01b9af54743122c0e183da2a624f60ea /src/validators/interface-name
parentc0bc1782f3c92033aa1224e220c8147cd031a23e (diff)
downloadvyos-1x-b0b03e21d24411c5a994d8e5c8009f39d9b6f639.tar.gz
vyos-1x-b0b03e21d24411c5a994d8e5c8009f39d9b6f639.zip
validator: T3326: add missing interfaces (e.g. ppp and l2tpv3)
(cherry picked from commit f67568bc2307706116f5509fca3a188dc4ab5d48)
Diffstat (limited to 'src/validators/interface-name')
-rwxr-xr-xsrc/validators/interface-name2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validators/interface-name b/src/validators/interface-name
index 32cd42fbd..8e337b401 100755
--- a/src/validators/interface-name
+++ b/src/validators/interface-name
@@ -17,7 +17,7 @@
import re
import sys
-pattern = '^(br|bond|dum|en|eth|gnv|peth|pppoe|tun|vti|vtun|vxlan|wg|wlan)[0-9]+|lo$'
+pattern = '^(bond|br|dum|en|ersp|eth|gnv|lan|l2tp|l2tpeth|macsec|peth|ppp|pppoe|pptp|sstp|tun|vti|vtun|vxlan|wg|wlan|wlm)[0-9]+|lo$'
if __name__ == '__main__':
if len(sys.argv) != 2: