1
0
mirror of https://git.openwrt.org/project/luci.git synced 2025-10-14 01:32:18 +08:00

luci-proto-wireguard: Add the option for setting ip6prefix.

Signed-off-by: Jan Pazdziora <jan.pazdziora@code.adelton.com>
This commit is contained in:
Jan Pazdziora
2025-01-09 19:49:51 +01:00
committed by Paul Donald
parent 750aa9e25b
commit 2604b5532f

View File

@@ -193,6 +193,8 @@ return network.registerProtocol('wireguard', {
return true;
};
o = s.taboption('advanced', form.DynamicList, 'ip6prefix', _('IPv6 routed prefix'), _('This is the prefix routed to you by your provider for use by clients'));
o.datatype = 'cidr6';
// -- peers -----------------------------------------------------------------------