diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-01-16 03:14:59 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-01-16 03:14:59 +0000 |
commit | 8eb40fecefeff3aaa12e285f6a6a8416f10d3742 (patch) | |
tree | a0c0305aa47833b2dfce82ccb24bde0d0b637548 /package/pptp | |
parent | aaa3a084eeb8378b5142f7681213110ca70e9389 (diff) | |
download | upstream-8eb40fecefeff3aaa12e285f6a6a8416f10d3742.tar.gz upstream-8eb40fecefeff3aaa12e285f6a6a8416f10d3742.tar.bz2 upstream-8eb40fecefeff3aaa12e285f6a6a8416f10d3742.zip |
port wan_device changes from whiterussian to kamikaze
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2993 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/pptp')
-rw-r--r-- | package/pptp/files/ifup.pptp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pptp/files/ifup.pptp b/package/pptp/files/ifup.pptp index c8a1a5eee8..fe04d97848 100644 --- a/package/pptp/files/ifup.pptp +++ b/package/pptp/files/ifup.pptp @@ -33,7 +33,7 @@ do_ifup $PPTP_PROTO $type # hack for some buggy ISPs NETMASK=$(nvram get ${type}_netmask) -IFNAME=$(nvram get pptp_ifname) +IFNAME=$(nvram get ${type}_device) [ -z "$NETMASK" -o -z "$IFNAME" ] || ifconfig $IFNAME netmask $NETMASK /usr/sbin/pppd \ |