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

index 4cd6d2b60ea5381217696d82c134cee855db1acc..aa7f7c21ca64f50a8349d50ae3cad6ac67c4f0c4 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()