aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/ppp
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-08-13 10:18:20 +0000
committerSteven Barth <steven@midlink.org>2014-08-13 10:18:20 +0000
commit1bfc9798bcf0e589218740c8e605c282e5abe043 (patch)
treec8ea5c21003aa248852c7e3195347003f1256328 /package/network/services/ppp
parent269de3d2b344bc539251ec91d5e142c0b8e7f459 (diff)
downloadmaster-187ad058-1bfc9798bcf0e589218740c8e605c282e5abe043.tar.gz
master-187ad058-1bfc9798bcf0e589218740c8e605c282e5abe043.tar.bz2
master-187ad058-1bfc9798bcf0e589218740c8e605c282e5abe043.zip
ppp: enable IPv6CP by default
Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42158 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/ppp')
-rw-r--r--package/network/services/ppp/Makefile2
-rwxr-xr-xpackage/network/services/ppp/files/ppp.sh6
2 files changed, 6 insertions, 2 deletions
diff --git a/package/network/services/ppp/Makefile b/package/network/services/ppp/Makefile
index 4cee97a0a2..724be30ef3 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.6
-PKG_RELEASE:=1
+PKG_RELEASE:=2
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/ppp.sh b/package/network/services/ppp/files/ppp.sh
index 8f4cdebcef..f07b11f3fd 100755
--- a/package/network/services/ppp/files/ppp.sh
+++ b/package/network/services/ppp/files/ppp.sh
@@ -26,7 +26,11 @@ ppp_generic_setup() {
local config="$1"; shift
json_get_vars ipv6 demand keepalive username password pppd_options pppname
- [ "$ipv6" = 1 ] || ipv6=""
+ if [ "$ipv6" = 0 ]; then
+ ipv6=""
+ else
+ ipv6=1
+ fi
if [ "${demand:-0}" -gt 0 ]; then
demand="precompiled-active-filter /etc/ppp/filter demand idle $demand"
else