Show ARP-Cache on "Active Connections" page
authorSteven Barth <steven@midlink.org>
Sat, 1 Nov 2008 11:43:01 +0000 (11:43 +0000)
committerSteven Barth <steven@midlink.org>
Sat, 1 Nov 2008 11:43:01 +0000 (11:43 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/conntrack.lua

index 4cd6d2b..aa7f7c2 100644 (file)
@@ -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()