summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openwrt/package/ppp/files/ifup.pppoe2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/ppp/files/ifup.pppoe b/openwrt/package/ppp/files/ifup.pppoe
index dbf58c380..2bec9c6fe 100644
--- a/openwrt/package/ppp/files/ifup.pppoe
+++ b/openwrt/package/ppp/files/ifup.pppoe
@@ -15,7 +15,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)