From 194ae6997b09be89e25b177494832dbdc2a0c773 Mon Sep 17 00:00:00 2001 From: Grische <2787581+grische@users.noreply.github.com> Date: Wed, 27 Mar 2024 18:52:09 +0100 Subject: [PATCH] ffmuc-mesh-vpn-wireguard: fix uci value deletion --- .../luasrc/lib/gluon/upgrade/400-mesh-vpn-wireguard | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ffmuc-mesh-vpn-wireguard-vxlan/luasrc/lib/gluon/upgrade/400-mesh-vpn-wireguard b/ffmuc-mesh-vpn-wireguard-vxlan/luasrc/lib/gluon/upgrade/400-mesh-vpn-wireguard index a1b20bda..d4dfb755 100755 --- a/ffmuc-mesh-vpn-wireguard-vxlan/luasrc/lib/gluon/upgrade/400-mesh-vpn-wireguard +++ b/ffmuc-mesh-vpn-wireguard-vxlan/luasrc/lib/gluon/upgrade/400-mesh-vpn-wireguard @@ -20,9 +20,9 @@ uci:delete_all('wireguard', 'peer', function(peer) end) -- Delete unused configurations from older versions -uci:delete("wireguard", "iface") -uci:delete("wireguard", "limit") -uci:delete("wireguard", "broker") +uci:delete("wireguard", "mesh_vpn", "iface") +uci:delete("wireguard", "mesh_vpn", "limit") +uci:delete("wireguard", "mesh_vpn", "broker") local mesh_enabled = uci:get_bool('gluon', 'mesh_vpn', 'enabled') -- default or uci:get_bool('fastd', 'mesh_vpn', 'enabled') --migration