fix pppoe bug
authorMike Baker <mbm@openwrt.org>
Fri, 19 Aug 2005 03:17:47 +0000 (03:17 +0000)
committerMike Baker <mbm@openwrt.org>
Fri, 19 Aug 2005 03:17:47 +0000 (03:17 +0000)
SVN-Revision: 1697

openwrt/package/ppp/Makefile
openwrt/package/ppp/files/ifup.pppoe

index f248412ae9d4065e2c7491789f383252de2612da..0fed25c91e98b9045e88ab2847f171b290475f01 100644 (file)
@@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ppp
 PKG_VERSION:=2.4.3
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 PKG_MD5SUM:=848f6c3cafeb6074ffeb293c3af79b7c
 
 PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
index 560a9069890dd99cafbd1b41a14d95090b08365e..3367b9778b5c3c32e88311045f0d8760ff68729f 100644 (file)
@@ -13,7 +13,7 @@ for module in slhc ppp_generic pppox pppoe; do
 done
 
 while :; do
-       IFNAME=$(nvram get pppoe_ifname)
+       IFNAME=nic-$(nvram get pppoe_ifname)
        USERNAME=$(nvram get ppp_username)
        PASSWORD=$(nvram get ppp_passwd)
        REDIAL=$(nvram get ppp_redialperiod)