From d8b61a53941ce5f0e5139f7c4d776abefad9b466 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 22 Aug 2008 22:38:14 +0000 Subject: [PATCH] modules/admin-fulk: Fixed changes handling of Static Routes configuration page --- .../admin-full/luasrc/model/cbi/admin_network/routes.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua b/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua index a6f47ced1..d7b851968 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua @@ -47,6 +47,12 @@ end s = m:section(TypedSection, "route", translate("a_n_routes_static")) s.addremove = true s.anonymous = true + +function s.render(...) + luci.model.uci.load_config("network") + TypedSection.render(...) +end + s.template = "cbi/tblsection" iface = s:option(ListValue, "interface", translate("interface")) -- 2.25.1