From: Michael Tremer Date: Fri, 21 Sep 2018 11:35:30 +0000 (+0200) Subject: Move DEFAULT_MTU to constants X-Git-Tag: 010~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e68f13c093e76723b6f15cc8f65f9f51aa9a2f8b;p=network.git Move DEFAULT_MTU to constants This is where it belongs Signed-off-by: Michael Tremer --- diff --git a/src/functions/functions.constants b/src/functions/functions.constants index 909e80ba..0d6cdd2f 100644 --- a/src/functions/functions.constants +++ b/src/functions/functions.constants @@ -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" diff --git a/src/hooks/ports/ethernet b/src/hooks/ports/ethernet index a52afe09..ddc76c3c 100644 --- a/src/hooks/ports/ethernet +++ b/src/hooks/ports/ethernet @@ -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.