wireguard: Add support for ip6prefix config option
authorToke Høiland-Jørgensen <toke@toke.dk>
Sun, 13 May 2018 18:15:50 +0000 (20:15 +0200)
committerJohn Crispin <john@phrozen.org>
Tue, 15 May 2018 04:41:38 +0000 (06:41 +0200)
commit50913b77e46738547c10719d45f7ef11ab46b865
tree0be7785298e490c7b0140410593e811c75b3fe76
parent4424a9ff205dc9c7a10652344c95dc4290efdb58
wireguard: Add support for ip6prefix config option

This makes it easier to distribute prefixes over a wireguard tunnel
interface, by simply setting the ip6prefix option in uci (just like with
other protocols).

Obviously, routing etc needs to be setup properly for things to work; this
just adds the config option so the prefix can be assigned to other
interfaces.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
package/network/services/wireguard/files/wireguard.sh