ds-lite: make tunnel encapsulation limit support configurable (FS#1501)
authorHans Dedecker <dedeckeh@gmail.com>
Tue, 29 May 2018 13:18:16 +0000 (15:18 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 4 Jun 2018 15:04:45 +0000 (17:04 +0200)
commita3372953e99bc2b4da38fdb62c33215ae5623464
tree67b2670a3db172c587d9bfef1ce0e0de07f55b92
parent4fdc6ca31bda4aad2a65b8460b0caa5c60f87f41
ds-lite: make tunnel encapsulation limit support configurable (FS#1501)

Be compatible with ISPs which don't support the destination option header containing
the tunnel encapsulation limit as reported in FS#1501.
Setting the uci parameter encaplimit to ignore; allows to disable the insertion
of the destination option header in the ds-lite packets.
Otherwise the tunnel encapsulation limit value can be set to a value from 0 till 255
by setting the encaplimit uci parameter accordingly.
If no encaplimit value is specified the default value is 4 as before.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
package/network/ipv6/ds-lite/Makefile
package/network/ipv6/ds-lite/files/dslite.sh [changed mode: 0755->0644]