Author: blogic Date: 2014-09-01 15:21:11 +0200 (Mon, 01 Sep 2014) New Revision: 42355
Modified: branches/barrier_breaker/package/network/services/ppp/Makefile branches/barrier_breaker/package/network/services/ppp/files/ppp.sh Log: ppp: enable IPv6CP by default Signed-off-by: Steven Barth <[email protected]> Backport of r42158 Modified: branches/barrier_breaker/package/network/services/ppp/Makefile =================================================================== --- branches/barrier_breaker/package/network/services/ppp/Makefile 2014-09-01 13:21:09 UTC (rev 42354) +++ branches/barrier_breaker/package/network/services/ppp/Makefile 2014-09-01 13:21:11 UTC (rev 42355) @@ -10,7 +10,7 @@ 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/ Modified: branches/barrier_breaker/package/network/services/ppp/files/ppp.sh =================================================================== --- branches/barrier_breaker/package/network/services/ppp/files/ppp.sh 2014-09-01 13:21:09 UTC (rev 42354) +++ branches/barrier_breaker/package/network/services/ppp/files/ppp.sh 2014-09-01 13:21:11 UTC (rev 42355) @@ -26,7 +26,11 @@ 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 _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
