diff options
author | Steven Barth <steven@midlink.org> | 2008-11-30 17:22:48 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-11-30 17:22:48 +0000 |
commit | 5734545388e6661c3e9040c53262bc3ba54fa81e (patch) | |
tree | f1142411f707c2e93dabb7e430eafefe280975c0 /modules/admin-full/luasrc/model/cbi/admin_network | |
parent | c63a170cde44e891adedc9c589d05da46eecd674 (diff) |
Optimized conntrack (thanks to Joe Burpee)
Diffstat (limited to 'modules/admin-full/luasrc/model/cbi/admin_network')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/conntrack.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/conntrack.lua b/modules/admin-full/luasrc/model/cbi/admin_network/conntrack.lua index aa7f7c21ca..f1c90d6958 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/conntrack.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/conntrack.lua @@ -22,7 +22,7 @@ t:option(DummyValue, "IP address", translate("ipaddress")) t:option(DummyValue, "HW address", translate("macaddress")) t:option(DummyValue, "Device", translate("interface")) -t = f:section(Table, luci.sys.net.conntrack(), translate("a_n_conntrack")) +t = f:section(Table, luci.sys.net.conntrack() or {}, translate("a_n_conntrack")) l3 = t:option(DummyValue, "layer3", translate("network")) function l3.cfgvalue(self, ...) return DummyValue.cfgvalue(self, ...):upper() |