aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-20 17:56:29 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-20 17:56:29 +0000
commita50421a302a4ce94e89c1c90c4ed1521eb36d24f (patch)
tree0e21c1ff4b0f9c83acf41d1b47c540f14fe50d4d /package/ppp/files
parente53a3539e2582f2755b07494e82abfa7358262f6 (diff)
downloadupstream-a50421a302a4ce94e89c1c90c4ed1521eb36d24f.tar.gz
upstream-a50421a302a4ce94e89c1c90c4ed1521eb36d24f.tar.bz2
upstream-a50421a302a4ce94e89c1c90c4ed1521eb36d24f.zip
pppd: use "atmdev" option to select the DSL adapter, this aligns it with br2684ctl and solves #8108
SVN-Revision: 23551
Diffstat (limited to 'package/ppp/files')
-rw-r--r--package/ppp/files/pppoa.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/ppp/files/pppoa.sh b/package/ppp/files/pppoa.sh
index 59e35c2dca..df947aa83d 100644
--- a/package/ppp/files/pppoa.sh
+++ b/package/ppp/files/pppoa.sh
@@ -9,8 +9,8 @@ stop_interface_pppoa() {
setup_interface_pppoa() {
local config="$2"
- local device
- config_get device "$config" device
+ local atmdev
+ config_get atmdev "$config" atmdev
local vpi
config_get vpi "$config" vpi
@@ -34,6 +34,6 @@ setup_interface_pppoa() {
config_get mtu "$config" mtu
start_pppd "$config" \
- plugin pppoatm.so ${device:+$device.}${vpi:-8}.${vci:-35} \
+ plugin pppoatm.so ${atmdev:+$atmdev.}${vpi:-8}.${vci:-35} \
${encaps} ${mtu:+mtu $mtu mru $mtu}
}