summaryrefslogtreecommitdiff
path: root/package/pptp/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-01-08 15:41:34 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-01-08 15:41:34 +0000
commit7251541786075324a1e11f5d06cfa2ebe2d97a91 (patch)
treea9aae063e7e69f1bc08a5a257b1fe71c0719f225 /package/pptp/files
parentdf57c5fdde4408e1db5a180043f60f309949c645 (diff)
downloadmtk-20170518-7251541786075324a1e11f5d06cfa2ebe2d97a91.zip
mtk-20170518-7251541786075324a1e11f5d06cfa2ebe2d97a91.tar.gz
mtk-20170518-7251541786075324a1e11f5d06cfa2ebe2d97a91.tar.bz2
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
SVN-Revision: 29694
Diffstat (limited to 'package/pptp/files')
-rw-r--r--package/pptp/files/pptp.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh
index 7efbb02..19023e7 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=""