X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=debian%2Finit.d;h=3e58dd057aedd5cb633c545e53f26b8163a27acc;hp=c006fece482f41a8f3b4d6c0a8324a7c62a2f0f2;hb=73b3e7ce03cacb644a8101610933b221fdf432d6;hpb=2ad4f1cc5b6013be2deee82b0cb3f731adb51616 diff --git a/debian/init.d b/debian/init.d index c006fece..3e58dd05 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.11 2000/05/21 22:08:21 guus Exp $ +# $Id: init.d,v 1.12 2000/05/21 22:21:38 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 $MSK broadcast $BRD -arp"); + system("ifconfig $DEV $ADR netmask $VPNMASK broadcast $BRD -arp"); system("start-stop-daemon --start --quiet --pidfile /var/run/$NAME.$_[0].pid --exec $DAEMON -- -n $_[0] $EXTRA"); }