add remote dns to undiscovered neighbors report

This commit is contained in:
Oliver Gorwits
2022-08-15 09:17:11 -04:00
parent 1aa455d028
commit e85198731f
2 changed files with 4 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ __PACKAGE__->result_source_instance->view_definition(<<'ENDSQL');
d.ip, d.name, d.dns,
p.port, p.name AS port_description,
p.remote_ip, p.remote_id, p.remote_type, p.remote_port,
dpp.remote_is_discoverable, dpp.remote_is_wap, dpp.remote_is_phone,
dpp.remote_is_discoverable, dpp.remote_is_wap, dpp.remote_is_phone, dpp.remote_dns,
l.log AS comment,
a.log, a.finished
@@ -67,6 +67,8 @@ __PACKAGE__->add_columns(
{ data_type => "boolean", is_nullable => 1 },
"remote_is_phone",
{ data_type => "boolean", is_nullable => 1 },
"remote_dns",
{ data_type => "text", is_nullable => 1 },
"comment",
{ data_type => "text", is_nullable => 1 },
"log",

View File

@@ -19,6 +19,7 @@
[% IF row.comment %]<br>&quot;<em>[% row.comment | html_entity %]</em>&quot;[% END %]
</td>
<td nowrap><a href="[% search_node | none %]&q=[% row.remote_ip | uri %]">
[% IF row.remote_dns %][% row.remote_dns | html_entity %]</a><br>[% END %]
[% row.remote_ip | html_entity %]</a><br>
[% row.remote_port | html_entity %]</td>
<td>[% row.remote_id | html_entity %]<br>