gre: make encaplimit support configurable
authorHans Dedecker <dedeckeh@gmail.com>
Wed, 17 Oct 2018 09:02:05 +0000 (11:02 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 17 Oct 2018 09:18:20 +0000 (11:18 +0200)
commit3d015e971f5e3f0df8e8ab149fda1270c5c72507
tree87393b787633ba254bbeb4cba2b466504738cd9b
parent622176262d4b8093eda1704e052ae97d74c85c7f
gre: make encaplimit support configurable

Make inclusion of the destination option header containing the tunnel
encapsulation limit configurable for IPv6 GRE packets.
Setting the uci parameter encaplimit to ignore; allows to disable the
insertion of the destination option header in the IPv6 GRE packets.
Otherwise the tunnel encapsulation limit value can be set to a value
from 0 till 255 by setting the encaplimit uci parameter accordingly.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
package/network/config/gre/Makefile
package/network/config/gre/files/gre.sh