From: Steven Barth Date: Sat, 1 Nov 2008 11:43:01 +0000 (+0000) Subject: Show ARP-Cache on "Active Connections" page X-Git-Tag: 0.9.0~1035 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=af51f7718e0a93789e119c7d989e97c5b36072e8;p=oweals%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 4cd6d2b60..aa7f7c21c 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()