<% local data, viewlibrary, page_info = ... require("viewfunctions") %> <% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("status") end %>

<%= html.html_escape(data.label) %>

<% displayitem(data.value.status) %>
<%= html.html_escape(data.value.peers_list.label) %>
<% local found for intf,addresses in pairs(data.value.peers_list.value) do found = true %> <% for i,entries in ipairs(addresses) do io.write("\n") for j,entry in pairs(entries) do if j ~= "Protocol-Address" then io.write("\n") end end end io.write("\t\t\t
<%= html.html_escape(intf) %>
" .. html.html_escape(entries["Protocol-Address"].value) .. "
"..html.html_escape(entry.label)..""..html.html_escape(entry.value)) if entry.descr then io.write(" (" .. html.html_escape(entry.descr) .. ")") end io.write("
") end if not found then io.write("No peers found\n") end %>