summaryrefslogtreecommitdiffstats
path: root/package/pptp/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/pptp/files')
-rw-r--r--package/pptp/files/ifup.pptp2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pptp/files/ifup.pptp b/package/pptp/files/ifup.pptp
index c8a1a5eee..fe04d9784 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 \