summaryrefslogtreecommitdiff
path: root/interface-definitions/ser2net.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/ser2net.xml.in')
-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>