luci-proto-wireguard: enable addressing for tunnel interfaces 947/head
authordanrl <mail@danrl.com>
Sat, 14 Jan 2017 16:12:36 +0000 (17:12 +0100)
committerdanrl <mail@danrl.com>
Sat, 14 Jan 2017 16:12:36 +0000 (17:12 +0100)
commit77ea7c8c7e7a30752f361e9ce129a8cff476ea1b
tree9d4071f733cba53e35162375ce2f7e5aeb016282
parent75c9670bf85a01a21fb8a25cef332fdd30f01138
luci-proto-wireguard: enable addressing for tunnel interfaces

Enable static addresses on WireGuard tunnel interfaces without requiring
an static address interface.

This removes the requirement to use a static address interface on top of a
WireGuard tunnel interface in the majority of cases. In the past, users have
been confused by the current approach and asked for a simpler way to configure
WireGuard interfaces.

Signed-off-by: Dan Luedtke <mail@danrl.com>
protocols/luci-proto-wireguard/luasrc/model/cbi/admin_network/proto_wireguard.lua