summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-20 16:35:24 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-20 16:40:35 +0100
commitee23ba04b9eb4003354c5426ab4c77d3103765b2 (patch)
tree63a585f4563400d94b9e78e384de316014bf9760 /interface-definitions/include
parentd1b74e3ed68ae608a11ba22f15466f5a3c323e31 (diff)
downloadvyos-1x-ee23ba04b9eb4003354c5426ab4c77d3103765b2.tar.gz
vyos-1x-ee23ba04b9eb4003354c5426ab4c77d3103765b2.zip
sstp: T2007: fix MTU boundaries
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/interface-mtu-68-1500.xml.i13
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/include/interface-mtu-68-1500.xml.i b/interface-definitions/include/interface-mtu-68-1500.xml.i
new file mode 100644
index 000000000..81223c332
--- /dev/null
+++ b/interface-definitions/include/interface-mtu-68-1500.xml.i
@@ -0,0 +1,13 @@
+<leafNode name="mtu">
+ <properties>
+ <help>Maximum Transmission Unit (MTU)</help>
+ <valueHelp>
+ <format>68-1500</format>
+ <description>Maximum Transmission Unit</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 68-1500"/>
+ </constraint>
+ <constraintErrorMessage>MTU must be between 68 and 1500</constraintErrorMessage>
+ </properties>
+</leafNode>