diff options
-rw-r--r-- | interface-definitions/interfaces-wirelessmodem.xml.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/interface-definitions/interfaces-wirelessmodem.xml.in b/interface-definitions/interfaces-wirelessmodem.xml.in index 6989dea1b..8b68594da 100644 --- a/interface-definitions/interfaces-wirelessmodem.xml.in +++ b/interface-definitions/interfaces-wirelessmodem.xml.in @@ -56,9 +56,12 @@ <description>TTY device name, regular serial port</description> </valueHelp> <valueHelp> - <format>usbXbY.YpZ.Z</format> + <format>usbNbXpY</format> <description>TTY device name, USB based</description> </valueHelp> + <constraint> + <regex>^(ttyS[0-9]+|usb[0-9]+b.*)$</regex> + </constraint> </properties> </leafNode> #include <include/interface-disable-link-detect.xml.i> |