From e68f13c093e76723b6f15cc8f65f9f51aa9a2f8b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 21 Sep 2018 13:35:30 +0200 Subject: [PATCH] Move DEFAULT_MTU to constants This is where it belongs Signed-off-by: Michael Tremer --- src/functions/functions.constants | 3 +++ src/hooks/ports/ethernet | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) 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. -- 2.47.2