Renamed reworked UCI API to uci2 to allow a peaceful coexistence with the old one
[project/luci.git] / modules / admin-full / luasrc / model / cbi / admin_network / network.lua
index c32aea8..fce84fe 100644 (file)
@@ -39,6 +39,7 @@ end
 function s.parse(self, ...)
        TypedSection.parse(self, ...)
        if created then
+               m.uci:save("network")
                luci.http.redirect(luci.dispatcher.build_url("admin", "network", "network")
                 .. "/" .. created)
        end