summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-wireguard.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-06 17:53:27 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-06 20:58:56 +0100
commit85349b54ab4de42f81d4c8c4dc84901d1313025f (patch)
tree0b1dc6838c93df17f825937fb9ee27d125e95434 /interface-definitions/interfaces-wireguard.xml.in
parent6c51461bfe1e29ecc6ea84288d080330f974111d (diff)
downloadvyos-1x-85349b54ab4de42f81d4c8c4dc84901d1313025f.tar.gz
vyos-1x-85349b54ab4de42f81d4c8c4dc84901d1313025f.zip
T1843: use include files for interface description
Diffstat (limited to 'interface-definitions/interfaces-wireguard.xml.in')
-rw-r--r--interface-definitions/interfaces-wireguard.xml.in10
1 files changed, 1 insertions, 9 deletions
diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in
index b6bc3e6e8..ef0b643bb 100644
--- a/interface-definitions/interfaces-wireguard.xml.in
+++ b/interface-definitions/interfaces-wireguard.xml.in
@@ -18,15 +18,7 @@
</properties>
<children>
#include <include/address-ipv4-ipv6.xml.i>
- <leafNode name="description">
- <properties>
- <help>description</help>
- <constraint>
- <regex>^.{1,100}$</regex>
- </constraint>
- <constraintErrorMessage>interface description is too long (limit 100 characters)</constraintErrorMessage>
- </properties>
- </leafNode>
+ #include <include/interface-description.xml.i>
<leafNode name="disable">
<properties>
<help>disables interface</help>