From 18b3084d2525c59f62b75346fa657ccce6459712 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Thu, 1 Jun 2000 20:21:27 +0000 Subject: [PATCH] Debian init.d script automatically sets tap device's MTU to 1448 now. --- debian/init.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/init.d b/debian/init.d index 3e2a664b..9067c546 100644 --- a/debian/init.d +++ b/debian/init.d @@ -1,7 +1,7 @@ #! /usr/bin/perl -w # # System startup script for tinc -# $Id: init.d,v 1.13 2000/05/21 22:27:31 zarq Exp $ +# $Id: init.d,v 1.14 2000/06/01 20:21:27 guus Exp $ # # Based on Lubomir Bulej's Redhat init script. # @@ -129,7 +129,7 @@ sub vpn_start { system("insmod ethertap -s --name=\"ethertap$NUM\" unit=\"$NUM\" >/dev/null"); system("ifconfig $DEV hw ether $MAC"); - system("ifconfig $DEV $ADR netmask $VPNMASK broadcast $BRD -arp"); + system("ifconfig $DEV $ADR netmask $VPNMASK broadcast $BRD mtu 1448 -arp"); system("start-stop-daemon --start --quiet --pidfile /var/run/$NAME.$_[0].pid --exec $DAEMON -- -n $_[0] $EXTRA"); } -- 2.39.5