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)
committerYousong Zhou <yszhou4tech@gmail.com>
Fri, 25 May 2018 01:30:42 +0000 (09:30 +0800)
commit6cc65b05f311ee108f244991f8020365c64520c8
tree742722e0318d06ad35a4e63450f2251ae225029f
parent0e3cc084968fc052c3826fe9ccc320c1347bc8ab
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