From 14fa557ba94a4243b5963ea137412c5e1204ecb5 Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Thu, 24 Mar 2011 12:59:57 +0100 Subject: Set default MTU to 1500 --- lib/route/tc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/route/tc.c b/lib/route/tc.c index e4faf92..56aa410 100644 --- a/lib/route/tc.c +++ b/lib/route/tc.c @@ -318,7 +318,7 @@ void rtnl_tc_set_mtu(struct rtnl_tc *tc, uint32_t mtu) * Returns the MTU of a traffic control object which has been set via: * -# User specified value set via rtnl_tc_set_mtu() * -# Dervied from link set via rtnl_tc_set_link() - * -# Fall back to default: ethernet = 1600 + * -# Fall back to default: ethernet = 1500 */ uint32_t rtnl_tc_get_mtu(struct rtnl_tc *tc) { @@ -327,7 +327,7 @@ uint32_t rtnl_tc_get_mtu(struct rtnl_tc *tc) else if (tc->ce_mask & TCA_ATTR_LINK) return tc->tc_link->l_mtu; else - return 1600; /* default to ethernet */ + return 1500; /* default to ethernet */ } /** -- cgit v1.2.1