diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2018-09-17 11:24:39 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-12-18 11:28:13 +0100 |
commit | f6eab3c3de026799d98391c7f2729b6779c5a9a9 (patch) | |
tree | 127753c67f22187c1255dd04be95166aeb10b720 /package/network/ipv6/ds-lite/files/dslite.sh | |
parent | d9f845f76132772f010bd7541c1780d18c238ebc (diff) | |
download | upstream-f6eab3c3de026799d98391c7f2729b6779c5a9a9.tar.gz upstream-f6eab3c3de026799d98391c7f2729b6779c5a9a9.tar.bz2 upstream-f6eab3c3de026799d98391c7f2729b6779c5a9a9.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>
(backported from 1241707b4091aa9dd46ad75252689e83f6aac5b2)
Diffstat (limited to 'package/network/ipv6/ds-lite/files/dslite.sh')
-rw-r--r-- | package/network/ipv6/ds-lite/files/dslite.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |