diff options
author | Ansuel Smith <ansuelsmth@gmail.com> | 2018-06-17 19:31:43 +0200 |
---|---|---|
committer | Ansuel Smith <ansuelsmth@gmail.com> | 2018-07-03 17:46:39 +0200 |
commit | afd14fb9c71b4874292dc93c0a9e59142b443805 (patch) | |
tree | ee8503b5aaed344a4fd2fa1c4ab74eb975e8f51c /applications/luci-app-upnp/luasrc/view | |
parent | cde13dc2459fa20ad0f889dbee925c7bdddaf806 (diff) |
luci-app-upnp: add hostname info
This adds the hostname info in the index page of luci.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'applications/luci-app-upnp/luasrc/view')
-rw-r--r-- | applications/luci-app-upnp/luasrc/view/upnp_status.htm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-app-upnp/luasrc/view/upnp_status.htm b/applications/luci-app-upnp/luasrc/view/upnp_status.htm index ee385b24a..53018e8a2 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('<input class="cbi-button cbi-button-remove" type="button" value="<%:Delete%>" onclick="upnp_delete_fwd(%d)" />'.format(st[i].num)) @@ -41,6 +42,7 @@ <div class="th"><%:Protocol%></div> <div class="th"><%:External Port%></div> <div class="th"><%:Client Address%></div> + <div class="th"><%:Host%></div> <div class="th"><%:Client Port%></div> <div class="th"><%:Description%></div> <div class="th cbi-section-actions"> </div> |