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 | e272d81c21b34540668d7421dcf18fd9013b94ce (patch) | |
tree | 6c47c03bafdb5e3acdb8b11e1d8c6b1529e7e67f /openwrt/package/pptp/files | |
parent | 99ddd56ca38bbac21caa40a34c664b3aa487db2b (diff) | |
download | mtk-20170518-e272d81c21b34540668d7421dcf18fd9013b94ce.zip mtk-20170518-e272d81c21b34540668d7421dcf18fd9013b94ce.tar.gz mtk-20170518-e272d81c21b34540668d7421dcf18fd9013b94ce.tar.bz2 |
port wan_device changes from whiterussian to kamikaze
SVN-Revision: 2993
Diffstat (limited to 'openwrt/package/pptp/files')
-rw-r--r-- | openwrt/package/pptp/files/ifup.pptp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/pptp/files/ifup.pptp b/openwrt/package/pptp/files/ifup.pptp index c8a1a5e..fe04d97 100644 --- a/openwrt/package/pptp/files/ifup.pptp +++ b/openwrt/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 \ |