summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-08 21:11:42 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-08 21:11:42 +0200
commit038add76f9bc74c112b8733c5a7537f87d301769 (patch)
treeadf7de0c520c46199aab91ddf0e1d701bafa6d8a /interface-definitions
parent026477e2cebccd241e0d63a13e2e3696f5e5bf13 (diff)
downloadvyos-1x-038add76f9bc74c112b8733c5a7537f87d301769.tar.gz
vyos-1x-038add76f9bc74c112b8733c5a7537f87d301769.zip
wireguard: T2244: use xml include for mtu
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/interfaces-wireguard.xml.in9
1 files changed, 1 insertions, 8 deletions
diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in
index d3f084774..bd56d4d50 100644
--- a/interface-definitions/interfaces-wireguard.xml.in
+++ b/interface-definitions/interfaces-wireguard.xml.in
@@ -31,14 +31,7 @@
</constraint>
</properties>
</leafNode>
- <leafNode name="mtu">
- <properties>
- <help>interface mtu size(default: 1420)</help>
- <constraint>
- <validator name="numeric" argument="--range 68-9000"/>
- </constraint>
- </properties>
- </leafNode>
+ #include <include/interface-mtu-68-9000.xml.i>
<leafNode name="fwmark">
<properties>
<help>A 32-bit fwmark value set on all outgoing packets</help>