show probable but undiscovered neighbor is ports display
This commit is contained in:
		| @@ -181,12 +181,14 @@ | |||||||
|  |  | ||||||
|       [% IF params.c_nodes OR params.c_neighbors %] |       [% IF params.c_nodes OR params.c_neighbors %] | ||||||
|       <td> |       <td> | ||||||
|         [% IF params.c_neighbors AND row.remote_ip %] |         [% IF params.c_neighbors AND (row.remote_ip OR row.is_uplink) %] | ||||||
|           [% IF row.neighbor %] |           [% IF row.neighbor %] | ||||||
|           <a href="[% uri_for('/device', |           <a href="[% uri_for('/device', | ||||||
|                 self_options) %]&q=[% row.neighbor.dns || row.neighbor.ip | uri %]&f=[% row.remote_port | uri %]"> |                 self_options) %]&q=[% row.neighbor.dns || row.neighbor.ip | uri %]&f=[% row.remote_port | uri %]"> | ||||||
|             [% row.neighbor.dns.remove(settings.domain_suffix) || row.neighbor.ip | html_entity %] |             [% row.neighbor.dns.remove(settings.domain_suffix) || row.neighbor.ip | html_entity %] | ||||||
|             ([% row.remote_port | html_entity %])</a> |             ([% row.remote_port | html_entity %])</a> | ||||||
|  |           [% ELSIF row.is_uplink %] | ||||||
|  |           <span class="label label-important">N</span> (probable neighbor) | ||||||
|           [% ELSE %] |           [% ELSE %] | ||||||
|           <span class="label label-important">N</span> |           <span class="label label-important">N</span> | ||||||
|           <a href="[% search_node %]&q=[% row.remote_ip | uri %]"> |           <a href="[% search_node %]&q=[% row.remote_ip | uri %]"> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user