summaryrefslogtreecommitdiff
path: root/interface-definitions/wireguard.xml
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2018-08-24 11:38:11 -0700
committerhagbard <vyosdev@derith.de>2018-08-24 11:38:11 -0700
commitc2b18ceda09868ed5a98be082fd3aa4dd787348c (patch)
treeaef77a65f07c872294435b0263756939daa51a39 /interface-definitions/wireguard.xml
parent96778964422910e5d07cfa02b1edb01f6bd870e1 (diff)
downloadvyos-1x-c2b18ceda09868ed5a98be082fd3aa4dd787348c.tar.gz
vyos-1x-c2b18ceda09868ed5a98be082fd3aa4dd787348c.zip
T791: mtu size implementation
Diffstat (limited to 'interface-definitions/wireguard.xml')
-rw-r--r--interface-definitions/wireguard.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml
index f025eb0da..335749e35 100644
--- a/interface-definitions/wireguard.xml
+++ b/interface-definitions/wireguard.xml
@@ -50,6 +50,14 @@
</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>
<leafNode name="fwmark">
<properties>
<help>A 32-bit fwmark value set on all outgoing packets</help>