diff options
author | Steven Barth <steven@midlink.org> | 2013-06-10 10:49:05 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-06-10 10:49:05 +0000 |
commit | fbbdd37b2e8541c2ac795955bd9f549b004ad14d (patch) | |
tree | 4368090bf8f8b6565ad69865eb2afa565cc2c2f7 | |
parent | fba2544de0ed3966e83532b6d7bf1a99dc3646c2 (diff) | |
download | upstream-fbbdd37b2e8541c2ac795955bd9f549b004ad14d.tar.gz upstream-fbbdd37b2e8541c2ac795955bd9f549b004ad14d.tar.bz2 upstream-fbbdd37b2e8541c2ac795955bd9f549b004ad14d.zip |
AA: ppp: Backport r35188, r36904
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36906 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/ppp/Makefile | 2 | ||||
-rwxr-xr-x | package/ppp/files/lib/netifd/ppp-up | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/package/ppp/Makefile b/package/ppp/Makefile index d7eddbc818..b6fbded579 100644 --- a/package/ppp/Makefile +++ b/package/ppp/Makefile @@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=ppp PKG_VERSION:=2.4.5 -PKG_RELEASE:=8 +PKG_RELEASE:=10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/ diff --git a/package/ppp/files/lib/netifd/ppp-up b/package/ppp/files/lib/netifd/ppp-up index 8ab8c9dd19..fa14550ec4 100755 --- a/package/ppp/files/lib/netifd/ppp-up +++ b/package/ppp/files/lib/netifd/ppp-up @@ -5,10 +5,9 @@ PPP_IPPARAM="$6" proto_init_update "$IFNAME" 1 1 proto_set_keep 1 [ -n "$PPP_IPPARAM" ] && { - [ -n "$IPLOCAL" ] && proto_add_ipv4_address "$IPLOCAL" 32 + [ -n "$IPLOCAL" ] && proto_add_ipv4_address "$IPLOCAL" 32 "" "${IPREMOTE:-2.2.2.2}" [ -n "$IPREMOTE" ] && proto_add_ipv4_route 0.0.0.0 0 "$IPREMOTE" [ -n "$LLLOCAL" ] && proto_add_ipv6_address "$LLLOCAL" 128 - [ -n "$LLREMOTE" ] && proto_add_ipv6_route "::0" 0 "$LLREMOTE" [ -n "$DNS1" ] && proto_add_dns_server "$DNS1" [ -n "$DNS2" -a "$DNS1" != "$DNS2" ] && proto_add_dns_server "$DNS2" } |