aboutsummaryrefslogtreecommitdiffstats
path: root/package/pptp
diff options
context:
space:
mode:
Diffstat (limited to 'package/pptp')
-rw-r--r--package/pptp/Makefile2
-rw-r--r--package/pptp/files/pptp.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/package/pptp/Makefile b/package/pptp/Makefile
index 1576352362..d41123f587 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 ba0e376695..648e0326bc 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" \