add remote dns to undiscovered neighbors report
This commit is contained in:
@@ -15,7 +15,7 @@ __PACKAGE__->result_source_instance->view_definition(<<'ENDSQL');
|
|||||||
d.ip, d.name, d.dns,
|
d.ip, d.name, d.dns,
|
||||||
p.port, p.name AS port_description,
|
p.port, p.name AS port_description,
|
||||||
p.remote_ip, p.remote_id, p.remote_type, p.remote_port,
|
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,
|
l.log AS comment,
|
||||||
a.log, a.finished
|
a.log, a.finished
|
||||||
|
|
||||||
@@ -67,6 +67,8 @@ __PACKAGE__->add_columns(
|
|||||||
{ data_type => "boolean", is_nullable => 1 },
|
{ data_type => "boolean", is_nullable => 1 },
|
||||||
"remote_is_phone",
|
"remote_is_phone",
|
||||||
{ data_type => "boolean", is_nullable => 1 },
|
{ data_type => "boolean", is_nullable => 1 },
|
||||||
|
"remote_dns",
|
||||||
|
{ data_type => "text", is_nullable => 1 },
|
||||||
"comment",
|
"comment",
|
||||||
{ data_type => "text", is_nullable => 1 },
|
{ data_type => "text", is_nullable => 1 },
|
||||||
"log",
|
"log",
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
[% IF row.comment %]<br>"<em>[% row.comment | html_entity %]</em>"[% END %]
|
[% IF row.comment %]<br>"<em>[% row.comment | html_entity %]</em>"[% END %]
|
||||||
</td>
|
</td>
|
||||||
<td nowrap><a href="[% search_node | none %]&q=[% row.remote_ip | uri %]">
|
<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_ip | html_entity %]</a><br>
|
||||||
[% row.remote_port | html_entity %]</td>
|
[% row.remote_port | html_entity %]</td>
|
||||||
<td>[% row.remote_id | html_entity %]<br>
|
<td>[% row.remote_id | html_entity %]<br>
|
||||||
|
|||||||
Reference in New Issue
Block a user