X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1b02e2c32ceefd3b59c34c3eb8d9080b83be1bd6..c3001723cbd07c232d514eec233336a1978ce159:/package/pptp/files/ifup.pptp?ds=sidebyside 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 \