]> git.ipfire.org Git - people/ms/network.git/commit
ip-tunnel: add new function
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Sun, 4 Mar 2018 18:24:55 +0000 (18:24 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 Mar 2018 20:19:22 +0000 (20:19 +0000)
commit376629dceea324fb713e957fabe57e3d69ca4c3b
tree4940ab763ba6e26673cb9e8fff4a8ebe43b9045f
parent1a99a0b295cde8abdf6d63c1179c7db1ca3f904d
ip-tunnel: add new function

To be undependent from the IP protocol we use, when we use tunnel modes
in our code, this function converts the modes
to the modes the iproute2 tool uses
which often depend on the IP protocol version.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.ip-tunnel