luci-proto-wireguard: fix generated AllowedIPs
authorJulien Cassette <julien.cassette@gmail.com>
Sun, 6 Nov 2022 22:42:31 +0000 (23:42 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 9 Nov 2022 20:00:56 +0000 (21:00 +0100)
commit73aca68b9e35857ec155f33ca1b1fb5358d69e52
tree256ebd0d5ee08c3ea05ae67b4b9d8b6740e50e78
parentf6e2c7232b1254e66abe4d4b5829328ffaa123a9
luci-proto-wireguard: fix generated AllowedIPs

This corrects the option `AllowedIPs` in generated peer configurations,
and allows to customize it via a dropdown list.

Fixes: #5956
Signed-off-by: Julien Cassette <julien.cassette@gmail.com>
[correct fixes tag, slightly adjust option description]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js