diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-20 16:35:24 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-03-20 16:40:35 +0100 |
commit | ee23ba04b9eb4003354c5426ab4c77d3103765b2 (patch) | |
tree | 63a585f4563400d94b9e78e384de316014bf9760 /interface-definitions/include/interface-mtu-68-1500.xml.i | |
parent | d1b74e3ed68ae608a11ba22f15466f5a3c323e31 (diff) | |
download | vyos-1x-ee23ba04b9eb4003354c5426ab4c77d3103765b2.tar.gz vyos-1x-ee23ba04b9eb4003354c5426ab4c77d3103765b2.zip |
sstp: T2007: fix MTU boundaries
Diffstat (limited to 'interface-definitions/include/interface-mtu-68-1500.xml.i')
-rw-r--r-- | interface-definitions/include/interface-mtu-68-1500.xml.i | 13 |
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> |