From 16fab561db51c0042de011fe3b562ece1bc9971c Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 14 May 2021 23:30:14 +0200 Subject: [PATCH] gluon-config-mode-mesh-vpn: override Section:write() instead of Section:handle() --- .../luasrc/lib/gluon/config-mode/wizard/0300-mesh-vpn.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/gluon-config-mode-mesh-vpn/luasrc/lib/gluon/config-mode/wizard/0300-mesh-vpn.lua b/package/gluon-config-mode-mesh-vpn/luasrc/lib/gluon/config-mode/wizard/0300-mesh-vpn.lua index 84482bb8..6fca9d08 100644 --- a/package/gluon-config-mode-mesh-vpn/luasrc/lib/gluon/config-mode/wizard/0300-mesh-vpn.lua +++ b/package/gluon-config-mode-mesh-vpn/luasrc/lib/gluon/config-mode/wizard/0300-mesh-vpn.lua @@ -58,8 +58,7 @@ return function(form, uci) uci:set("gluon", "mesh_vpn", "limit_egress", data * 1000) end - function s:handle() - Section.handle(s) + function s:write() uci:save('gluon') os.execute('exec /lib/gluon/mesh-vpn/update-config') end