]> git.ipfire.org Git - people/ms/network.git/commitdiff
Move DEFAULT_MTU to constants
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Sep 2018 11:35:30 +0000 (13:35 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Sep 2018 11:35:30 +0000 (13:35 +0200)
This is where it belongs

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.constants
src/hooks/ports/ethernet

index 909e80ba5595fee6f862a65b1947ef1a3d979f23..0d6cdd2fba47fa4db933b054496ed95cd3d905f3 100644 (file)
@@ -91,6 +91,9 @@ DISCOVER_OK=0
 DISCOVER_ERROR=1
 DISCOVER_NOT_SUPPORTED=2
 
+# Default MTU
+DEFAULT_MTU=1500
+
 # The user is able to create zones that begin
 # with these names followed by a number.
 ZONE_LOCAL="net"
index a52afe092edca8d7a81fe4448a76351b5f515170..ddc76c3cffed5ba5ef6a2f8fb7007c996b926746 100644 (file)
@@ -21,9 +21,6 @@
 
 . /usr/lib/network/header-port
 
-# Default MTU
-DEFAULT_MTU=1500
-
 # DEVICE equals the actual MAC address of the device.
 # If ADDRESS is set, the device will get ADDRESS set for its MAC address.