summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-29 22:49:02 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-18 21:45:35 +0200
commit6727ddc78035c14ca5015419ef4a9240af8288d8 (patch)
treec6f94fb40dd22e32efa33fcf1713718bcee46ca3 /interface-definitions
parent538333e24e65583df8c76d9f211ef58edb6176a1 (diff)
downloadvyos-1x-6727ddc78035c14ca5015419ef4a9240af8288d8.tar.gz
vyos-1x-6727ddc78035c14ca5015419ef4a9240af8288d8.zip
console-server: T2490: use new USB ports "by-bus"
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/ser2net.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/ser2net.xml.in b/interface-definitions/ser2net.xml.in
index b9520d20b..8b025070f 100644
--- a/interface-definitions/ser2net.xml.in
+++ b/interface-definitions/ser2net.xml.in
@@ -19,11 +19,11 @@
<description>Regular serial interface</description>
</valueHelp>
<valueHelp>
- <format>ttyUSBxxx</format>
+ <format>usbxbxpx</format>
<description>USB based serial interface</description>
</valueHelp>
<constraint>
- <regex>^tty(S|USB)[0-9]+$</regex>
+ <regex>^(ttyS\d+|usb\d+b.*p.*)$</regex>
</constraint>
</properties>
<children>