summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-wireguard.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-01-26 19:08:36 +0100
committerChristian Poessinger <christian@poessinger.com>2020-01-26 19:14:15 +0100
commit15b3360f460f43a6cd49cccc4e002d89e2dde5f3 (patch)
tree40c685c31d90d5156ca744cdbcea0b3f514e42fa /interface-definitions/interfaces-wireguard.xml.in
parentda8b089e48fef03518e2cd119e4bf84cf5630728 (diff)
downloadvyos-1x-15b3360f460f43a6cd49cccc4e002d89e2dde5f3.tar.gz
vyos-1x-15b3360f460f43a6cd49cccc4e002d89e2dde5f3.zip
WireGuard: rephrase constraint error message
Diffstat (limited to 'interface-definitions/interfaces-wireguard.xml.in')
-rw-r--r--interface-definitions/interfaces-wireguard.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in
index 74319f705..514ca9083 100644
--- a/interface-definitions/interfaces-wireguard.xml.in
+++ b/interface-definitions/interfaces-wireguard.xml.in
@@ -10,7 +10,7 @@
<constraint>
<regex>wg[0-9]+$</regex>
</constraint>
- <constraintErrorMessage>illegal interface name</constraintErrorMessage>
+ <constraintErrorMessage>WireGuard interface must be named wgN</constraintErrorMessage>
<valueHelp>
<format>wgN</format>
<description>WireGuard interface name</description>