[2/2] fff-tunneldigger: set fix MTU for l2tp tunnel.

Submitted by Robert Langhammer on Feb. 21, 2018, 4:28 p.m.

Details

Message ID 20180221162821.13329-3-rlanghammer@web.de
State Superseded
Headers show

Commit Message

Robert Langhammer Feb. 21, 2018, 4:28 p.m.
A different to fastd MTU can cause problems with alfred.
So we also use 1426 here.

Signed-off-by: Robert Langhammer <rlanghammer@web.de>
---
 .../fff/fff-tunneldigger/files/etc/tunneldigger/tunneldigger.hook       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/src/packages/fff/fff-tunneldigger/files/etc/tunneldigger/tunneldigger.hook b/src/packages/fff/fff-tunneldigger/files/etc/tunneldigger/tunneldigger.hook
index c4fea62..e5a28d6 100755
--- a/src/packages/fff/fff-tunneldigger/files/etc/tunneldigger/tunneldigger.hook
+++ b/src/packages/fff/fff-tunneldigger/files/etc/tunneldigger/tunneldigger.hook
@@ -4,7 +4,7 @@  HOOK=$1
 INTERFACE=$2
 
 if [ "$HOOK" = session.up ]; then
-       ip l s dev $INTERFACE up
+       ip l s dev $INTERFACE mtu 1438 up
        batctl if add $INTERFACE
        echo "enabled" > /sys/devices/virtual/net/$INTERFACE/batman_adv/no_rebroadcast
 fi

Comments

Robert Langhammer Feb. 22, 2018, 11:41 a.m.
Da hat sich ein alter, falscher Patch eingeschlichen.
Das mit fastd ist Quatsch.

Der richtige folgt.

Robert


Am 21.02.2018 um 17:28 schrieb Robert Langhammer:
> A different to fastd MTU can cause problems with alfred.
> So we also use 1426 here.
>
> Signed-off-by: Robert Langhammer <rlanghammer@web.de>
> ---
>  .../fff/fff-tunneldigger/files/etc/tunneldigger/tunneldigger.hook       | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/packages/fff/fff-tunneldigger/files/etc/tunneldigger/tunneldigger.hook b/src/packages/fff/fff-tunneldigger/files/etc/tunneldigger/tunneldigger.hook
> index c4fea62..e5a28d6 100755
> --- a/src/packages/fff/fff-tunneldigger/files/etc/tunneldigger/tunneldigger.hook
> +++ b/src/packages/fff/fff-tunneldigger/files/etc/tunneldigger/tunneldigger.hook
> @@ -4,7 +4,7 @@ HOOK=$1
>  INTERFACE=$2
>  
>  if [ "$HOOK" = session.up ]; then
> -       ip l s dev $INTERFACE up
> +       ip l s dev $INTERFACE mtu 1438 up
>         batctl if add $INTERFACE
>         echo "enabled" > /sys/devices/virtual/net/$INTERFACE/batman_adv/no_rebroadcast
>  fi