summaryrefslogtreecommitdiff
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
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
-rw-r--r--package/ppp/Makefile2
-rw-r--r--package/ppp/files/ppp.sh2
-rw-r--r--package/ppp/files/pppoa.sh2
-rw-r--r--package/ppp/files/pppoe.sh2
-rw-r--r--package/pptp/Makefile2
-rw-r--r--package/pptp/files/pptp.sh4
6 files changed, 7 insertions, 7 deletions
diff --git a/package/ppp/Makefile b/package/ppp/Makefile
index 2293768..496b040 100644
--- a/package/ppp/Makefile
+++ b/package/ppp/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ppp
PKG_VERSION:=2.4.3
-PKG_RELEASE:=10
+PKG_RELEASE:=11
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
diff --git a/package/ppp/files/ppp.sh b/package/ppp/files/ppp.sh
index af01d44..bfa708d 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 8c66250..65c5c2d 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 e1c9a20..c0bb515 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 \
diff --git a/package/pptp/Makefile b/package/pptp/Makefile
index 1576352..d41123f 100644
--- a/package/pptp/Makefile
+++ b/package/pptp/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=pptp
PKG_VERSION:=1.6.0
-PKG_RELEASE:=5
+PKG_RELEASE:=6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/pptpclient
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" \