aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-09-17 11:24:39 +0200
committerHans Dedecker <dedeckeh@gmail.com>2018-09-19 09:42:28 +0200
commit1241707b4091aa9dd46ad75252689e83f6aac5b2 (patch)
treeab4334286bfbb8edf95eac26363739f371a3a4ae /package
parentf07a94da50b8a31928cb34c19695747e0df74beb (diff)
downloadupstream-1241707b4091aa9dd46ad75252689e83f6aac5b2.tar.gz
upstream-1241707b4091aa9dd46ad75252689e83f6aac5b2.tar.bz2
upstream-1241707b4091aa9dd46ad75252689e83f6aac5b2.zip
ds-lite: drop default encaplimit value
Setting encaplimit to a numerical value results into the value being included as tunnel encapsulation limit in the destination option header for tunneled packets. Several users have reported interop issues as not all ISPs support the destination option header containing the tunnel encapsulation limit resulting into broken ds-lite connectivity. Therefore drop the default encaplimit value for ds-lite tunnels so no destination option header is included by default. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'package')
-rw-r--r--package/network/ipv6/ds-lite/Makefile2
-rw-r--r--package/network/ipv6/ds-lite/files/dslite.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/network/ipv6/ds-lite/Makefile b/package/network/ipv6/ds-lite/Makefile
index 4393d35877..198b6ebcc7 100644
--- a/package/network/ipv6/ds-lite/Makefile
+++ b/package/network/ipv6/ds-lite/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ds-lite
PKG_VERSION:=7
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_LICENSE:=GPL-2.0
include $(INCLUDE_DIR)/package.mk
diff --git a/package/network/ipv6/ds-lite/files/dslite.sh b/package/network/ipv6/ds-lite/files/dslite.sh
index 7bd3f2e70d..017963926d 100644
--- a/package/network/ipv6/ds-lite/files/dslite.sh
+++ b/package/network/ipv6/ds-lite/files/dslite.sh
@@ -69,7 +69,7 @@ proto_dslite_setup() {
json_add_string remote "$peeraddr"
[ -n "$tunlink" ] && json_add_string link "$tunlink"
json_add_object "data"
- json_add_string encaplimit "${encaplimit:-4}"
+ [ -n "$encaplimit" ] && json_add_string encaplimit "$encaplimit"
json_close_object
proto_close_tunnel