summaryrefslogtreecommitdiff
path: root/package/pptp/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-03-15 12:08:31 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-03-15 12:08:31 +0000
commita54018aa87473925942be51e70e8306ee46f1acc (patch)
tree1fa1a12f8eb60c65cf5720498df393d2177983d9 /package/pptp/files
parent44eec54c20e721743cb83fcc70e52d00cf02aa94 (diff)
downloadmtk-20170518-a54018aa87473925942be51e70e8306ee46f1acc.zip
mtk-20170518-a54018aa87473925942be51e70e8306ee46f1acc.tar.gz
mtk-20170518-a54018aa87473925942be51e70e8306ee46f1acc.tar.bz2
fix ppp and pptp typos where is used instead of (#4768, #4778)
SVN-Revision: 14882
Diffstat (limited to 'package/pptp/files')
-rw-r--r--package/pptp/files/pptp.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh
index ba0e376..648e032 100644
--- a/package/pptp/files/pptp.sh
+++ b/package/pptp/files/pptp.sh
@@ -13,7 +13,7 @@ setup_interface_pptp() {
config_get device "$config" device
config_get ipproto "$config" ipproto
- config_get server "$cfg" server
+ config_get server "$config" server
for module in slhc ppp_generic ppp_async ip_gre; do
/sbin/insmod $module 2>&- >&-
@@ -36,7 +36,7 @@ setup_interface_pptp() {
config_get ifname "$config" ifname
uci_set_state network "$config" ifname "$ifname"
- config_get mtu "$cfg" mtu
+ config_get mtu "$configg" mtu
mtu=${mtu:-1452}
start_pppd "$config" \
pty "/usr/sbin/pptp $server --loglevel 0 --nolaunchpppd" \