]> git.ipfire.org Git - people/ms/network.git/commitdiff
Remove default MTU for PPP client connections
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 26 Mar 2016 18:49:47 +0000 (18:49 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 26 Mar 2016 18:49:47 +0000 (18:49 +0000)
The providers set this on their side and we should not use
any defaults because selecting those is just unfounded and
arbitrary.

Fixes #11071

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/hooks/zones/modem
src/hooks/zones/pppoe

index 2ca06fcdfd5643dc6205ba7a6ad5697b0fb47301..d12a464e2756e621aaa8febd7e67ce45b2509f85 100644 (file)
@@ -50,7 +50,7 @@ MONITOR_DEVICE=
 HOOK_SETTINGS="${HOOK_SETTINGS} MONITOR_DEVICE"
 
 # Maximum transmission unit.
-MTU=1492
+MTU=
 HOOK_SETTINGS="${HOOK_SETTINGS} MTU"
 
 # User credentials.
index 865bbc59fb4e4648169075db474a07532c9688eb..5b44b8c377d961adf4a54c41778bd454ed3758b7 100644 (file)
@@ -38,8 +38,7 @@ ACCESS_CONCENTRATOR=""
 SERVICE_NAME=""
 
 # Maximum Transmission Unit.
-# 1492 is a very common value for that.
-MTU=1492
+MTU=
 
 # This hook can work with all authentication methods supported by pppd.
 PPPOE_SUPPORTED_AUTH_METHODS="${PPP_SUPPORTED_AUTH_METHODS}"