summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2013-01-17 08:28:57 +0000
committerSteven Barth <cyrus@openwrt.org>2013-01-17 08:28:57 +0000
commit73875c1215016a9b24024b932d41fa5ba6aabb2b (patch)
tree140608e05073ce199bcf2547b6356c6e2b85ad01
parent1ecc7445830916fff941fb00908bfbb261d8940b (diff)
downloadmtk-20170518-73875c1215016a9b24024b932d41fa5ba6aabb2b.zip
mtk-20170518-73875c1215016a9b24024b932d41fa5ba6aabb2b.tar.gz
mtk-20170518-73875c1215016a9b24024b932d41fa5ba6aabb2b.tar.bz2
ppp: don't automatically set IPv6 default route * Fixes "ndisc_router_discovery() failed to add default route"
SVN-Revision: 35188
-rw-r--r--package/network/services/ppp/Makefile2
-rwxr-xr-xpackage/network/services/ppp/files/lib/netifd/ppp-up1
2 files changed, 1 insertions, 2 deletions
diff --git a/package/network/services/ppp/Makefile b/package/network/services/ppp/Makefile
index 71c5981..9a4640b 100644
--- a/package/network/services/ppp/Makefile
+++ b/package/network/services/ppp/Makefile
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=ppp
PKG_VERSION:=2.4.5
-PKG_RELEASE:=8
+PKG_RELEASE:=9
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
diff --git a/package/network/services/ppp/files/lib/netifd/ppp-up b/package/network/services/ppp/files/lib/netifd/ppp-up
index 8ab8c9d..d488b8d 100755
--- a/package/network/services/ppp/files/lib/netifd/ppp-up
+++ b/package/network/services/ppp/files/lib/netifd/ppp-up
@@ -8,7 +8,6 @@ proto_set_keep 1
[ -n "$IPLOCAL" ] && proto_add_ipv4_address "$IPLOCAL" 32
[ -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"
}