summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-11-01 11:43:01 +0000
committerSteven Barth <steven@midlink.org>2008-11-01 11:43:01 +0000
commitaf51f7718e0a93789e119c7d989e97c5b36072e8 (patch)
treef21bef457ab0b2b53c67a6c2d15afb9eb38fcbf7
parentf3ca7840d6c13c12d278ba40e432840d8dba4468 (diff)
Show ARP-Cache on "Active Connections" page
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/conntrack.lua7
1 files changed, 6 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 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()