summaryrefslogtreecommitdiffstats
path: root/package/ppp/files
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-15 12:08:31 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-15 12:08:31 +0000
commit474e65cbab6cad7dbf74b7cb62acb02aa12403a3 (patch)
treefa151e185c197699f44391cfaebe40f1dbd8e08a /package/ppp/files
parente71cc700d68291718e759120170170dd85ed9dff (diff)
[package] fix ppp and pptp typos where is used instead of (#4768, #4778)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14882 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/files')
-rw-r--r--package/ppp/files/ppp.sh2
-rw-r--r--package/ppp/files/pppoa.sh2
-rw-r--r--package/ppp/files/pppoe.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/package/ppp/files/ppp.sh b/package/ppp/files/ppp.sh
index af01d446c..bfa708dad 100644
--- a/package/ppp/files/ppp.sh
+++ b/package/ppp/files/ppp.sh
@@ -77,7 +77,7 @@ setup_interface_ppp() {
config_get device "$config" device
- config_get mtu "$cfg" mtu
+ config_get mtu "$config" mtu
mtu=${mtu:-1492}
start_pppd "$config" \
mtu $mtu mru $mtu \
diff --git a/package/ppp/files/pppoa.sh b/package/ppp/files/pppoa.sh
index 8c66250da..65c5c2db3 100644
--- a/package/ppp/files/pppoa.sh
+++ b/package/ppp/files/pppoa.sh
@@ -20,7 +20,7 @@ setup_interface_pppoa() {
*) ENCAPS="llc-encaps" ;;
esac
- config_get mtu "$cfg" mtu
+ config_get mtu "$config" mtu
mtu=${mtu:-1500}
start_pppd "$config" \
plugin pppoatm.so ${vpi:-8}.${vci:-35} ${ENCAPS} \
diff --git a/package/ppp/files/pppoe.sh b/package/ppp/files/pppoe.sh
index e1c9a20cd..c0bb51516 100644
--- a/package/ppp/files/pppoe.sh
+++ b/package/ppp/files/pppoe.sh
@@ -15,7 +15,7 @@ setup_interface_pppoe() {
config_get ifname "$config" ifname
set_interface_ifname "$config" "$ifname"
- config_get mtu "$cfg" mtu
+ config_get mtu "$config" mtu
mtu=${mtu:-1492}
start_pppd "$config" \
plugin rp-pppoe.so \