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

Signed-off-by: Jan Pazdziora <jan.pazdziora@code.adelton.com>
pull/7820/head
Jan Pazdziora 2025-01-09 19:49:51 +01:00 committed by Paul Donald
parent 750aa9e25b
commit 2604b5532f
1 changed files with 2 additions and 0 deletions

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 -----------------------------------------------------------------------