summaryrefslogtreecommitdiffstats
path: root/package/pptp
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-08 15:41:34 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-08 15:41:34 +0000
commit01ffe72b185e7e24e97709a888911f6012126a06 (patch)
tree4c08776eb4d2d8287f7d843770ac52f6920bea17 /package/pptp
parentba9b0df8e2d264c6a893039e0aa247b3fd25f3b7 (diff)
[package] pptp: remove support for underlying ipproto, it is adviced since a while that pptp should be declared as separate interface alognside wan - in this configuration the ipproto will cause stray udhcpc errors due to not existent interfaces, so remove it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29694 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/pptp')
-rw-r--r--package/pptp/Makefile4
-rw-r--r--package/pptp/files/pptp.sh4
2 files changed, 2 insertions, 6 deletions
diff --git a/package/pptp/Makefile b/package/pptp/Makefile
index 08f6b40aa..a6d213d38 100644
--- a/package/pptp/Makefile
+++ b/package/pptp/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006-2011 OpenWrt.org
+# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=pptp
PKG_VERSION:=1.7.1
-PKG_RELEASE:=4
+PKG_RELEASE:=5
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 7efbb02fb..19023e7ef 100644
--- a/package/pptp/files/pptp.sh
+++ b/package/pptp/files/pptp.sh
@@ -24,9 +24,6 @@ setup_interface_pptp() {
local device
config_get device "$config" device
- local ipproto
- config_get ipproto "$config" ipproto
-
local server
config_get server "$config" server
@@ -39,7 +36,6 @@ setup_interface_pptp() {
done
sleep 1
- setup_interface "$device" "$config" "${ipproto:-dhcp}"
local gw="$(find_gw)"
[ -n "$gw" ] && {
local serv_addrs=""