From: Steven Barth Date: Sat, 1 Nov 2008 11:43:22 +0000 (+0000) Subject: Show ARP-Cache on "Active Connections" page X-Git-Tag: 0.8.2~54 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=36ea3e54ec9a04dab15bcce7b789ee2c6b43ae86;p=project%2Fluci.git Show ARP-Cache on "Active Connections" page --- 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 4cd6d2b60e..aa7f7c21ca 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/conntrack.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/conntrack.lua @@ -17,7 +17,12 @@ f = SimpleForm("conntrack", translate("a_n_conntrack"), translate("a_n_conntrack f.reset = false f.submit = false -t = f:section(Table, luci.sys.net.conntrack()) +t = f:section(Table, luci.sys.net.arptable(), "ARP") +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")) l3 = t:option(DummyValue, "layer3", translate("network")) function l3.cfgvalue(self, ...) return DummyValue.cfgvalue(self, ...):upper()