From 827d81aab33df98bfdb2a14da778154bd5ddd45e Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Sat, 2 Apr 2016 17:53:36 +0200
Subject: [PATCH] gluon-config-mode-mesh-vpn: fix save() call for traffic
 limits

It doesn't seem like this mistake had any effect.
---
 .../files/lib/gluon/config-mode/wizard/0300-mesh-vpn.lua        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/gluon-config-mode-mesh-vpn/files/lib/gluon/config-mode/wizard/0300-mesh-vpn.lua b/package/gluon-config-mode-mesh-vpn/files/lib/gluon/config-mode/wizard/0300-mesh-vpn.lua
index 104e24377..f0172421b 100644
--- a/package/gluon-config-mode-mesh-vpn/files/lib/gluon/config-mode/wizard/0300-mesh-vpn.lua
+++ b/package/gluon-config-mode-mesh-vpn/files/lib/gluon/config-mode/wizard/0300-mesh-vpn.lua
@@ -56,7 +56,7 @@ function M.handle(data)
       uci:set("simple-tc", "mesh_vpn", "limit_egress", data._limit_egress:trim())
     end
 
-    uci:commit("simple-tc")
+    uci:save("simple-tc")
     uci:commit("simple-tc")
   end
 end
-- 
GitLab