From afd14fb9c71b4874292dc93c0a9e59142b443805 Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Sun, 17 Jun 2018 19:31:43 +0200 Subject: luci-app-upnp: add hostname info This adds the hostname info in the index page of luci. Signed-off-by: Ansuel Smith --- applications/luci-app-upnp/luasrc/view/upnp_status.htm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'applications/luci-app-upnp/luasrc/view/upnp_status.htm') diff --git a/applications/luci-app-upnp/luasrc/view/upnp_status.htm b/applications/luci-app-upnp/luasrc/view/upnp_status.htm index ee385b24a8..53018e8a2f 100644 --- a/applications/luci-app-upnp/luasrc/view/upnp_status.htm +++ b/applications/luci-app-upnp/luasrc/view/upnp_status.htm @@ -23,6 +23,7 @@ st[i].proto, st[i].extport, st[i].intaddr, + st[i].host_hint || "<%:Unknown%>", st[i].intport, st[i].descr, E(''.format(st[i].num)) @@ -41,6 +42,7 @@
<%:Protocol%>
<%:External Port%>
<%:Client Address%>
+
<%:Host%>
<%:Client Port%>
<%:Description%>
 
-- cgit v1.2.3