summaryrefslogtreecommitdiff
path: root/interface-definitions/wireguard.xml
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/wireguard.xml')
-rw-r--r--interface-definitions/wireguard.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml
index 7d1bb1b31..21656e3d8 100644
--- a/interface-definitions/wireguard.xml
+++ b/interface-definitions/wireguard.xml
@@ -16,6 +16,12 @@
</valueHelp>
</properties>
<children>
+ <!--
+ <leafNode name="mtu">
+ <properties>
+ <help>set interface mtu (default: 1420)</help>
+ </leafNode>
+ -->
<leafNode name="address">
<properties>
<help>IP address</help>
@@ -51,9 +57,9 @@
<properties>
<help>peer alias</help>
<constraint>
- <regex>^[0-9a-zA-Z]{1,100}</regex>
+ <regex>.[^ ]{1,100}$</regex>
</constraint>
- <constraintErrorMessage>input limited to 100 alphanumerical characters</constraintErrorMessage>
+ <constraintErrorMessage>peer alias too long (limit 100 characters)</constraintErrorMessage>
</properties>
<children>
<leafNode name="pubkey">