From 2604b5532f2f0026e308ed49fef1ab6db8735e0a Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Thu, 9 Jan 2025 19:49:51 +0100 Subject: [PATCH] luci-proto-wireguard: Add the option for setting ip6prefix. Signed-off-by: Jan Pazdziora --- .../htdocs/luci-static/resources/protocol/wireguard.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js index d0751bc9fb..e1e1835c7b 100644 --- a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js +++ b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js @@ -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 ----------------------------------------------------------------------- -- 2.30.2