summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-ethernet.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-06 18:08:54 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-06 20:58:56 +0100
commit1053b331172277f7e3b2714fca84da7db4eb6221 (patch)
tree34ff0379e8f8ddde7deee5aa30023f767a80da5a /interface-definitions/interfaces-ethernet.xml.in
parent7b548edefc9e3d9fdccbfe5469f621d07793f715 (diff)
downloadvyos-1x-1053b331172277f7e3b2714fca84da7db4eb6221.tar.gz
vyos-1x-1053b331172277f7e3b2714fca84da7db4eb6221.zip
T1843: use include files for interface MTU size
Diffstat (limited to 'interface-definitions/interfaces-ethernet.xml.in')
-rw-r--r--interface-definitions/interfaces-ethernet.xml.in14
1 files changed, 1 insertions, 13 deletions
diff --git a/interface-definitions/interfaces-ethernet.xml.in b/interface-definitions/interfaces-ethernet.xml.in
index dec2619ee..96f7a9454 100644
--- a/interface-definitions/interfaces-ethernet.xml.in
+++ b/interface-definitions/interfaces-ethernet.xml.in
@@ -102,19 +102,7 @@
</children>
</node>
#include <include/interface-mac.xml.i>
- <leafNode name="mtu">
- <properties>
- <help>Maximum Transmission Unit (MTU)</help>
- <valueHelp>
- <format>68-9000</format>
- <description>Maximum Transmission Unit</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 68-9000"/>
- </constraint>
- <constraintErrorMessage>MTU must be between 68 and 9000</constraintErrorMessage>
- </properties>
- </leafNode>
+ #include <include/interface-mtu-68-9000.xml.i>
<node name="offload-options">
<properties>
<help>Configurable offload options</help>