[#110] rules for IP Phone and Wireless AP identification now configurable
This commit is contained in:
		| @@ -265,7 +265,7 @@ | ||||
|             <i class="icon-link[% ' text-warning' IF row.manual_topo %]"></i> | ||||
|             [% IF row.remote_type AND row.remote_type.match('(?i)ip.phone') %] | ||||
|               <i class="icon-phone"></i>  | ||||
|             [% ELSIF row.remote_type AND row.remote_type.match('(cisco\s+AIR-[L|C]?AP|-K9W8-|^AP:\s)') %] | ||||
|             [% ELSIF row.remote_type AND row.remote_type.match('^AP:\s') %] | ||||
|               <i class="icon-signal"></i>  | ||||
|             [% END %] | ||||
|             <a href="[% uri_for('/device', self_options) %]&q=[% row.neighbor.ip | uri %]"> | ||||
| @@ -284,7 +284,7 @@ | ||||
|             <i class="icon-unlink text-error"></i>  | ||||
|             [% IF row.remote_type AND row.remote_type.match('(?i)ip.phone') %] | ||||
|               <i class="icon-phone"></i>  | ||||
|             [% ELSIF row.remote_type AND row.remote_type.match('(cisco\s+AIR-[L|C]?AP|-K9W8-|^AP:\s)') %] | ||||
|             [% ELSIF row.remote_type AND row.remote_type.match('^AP:\s') %] | ||||
|               <i class="icon-signal"></i>  | ||||
|             [% END %] | ||||
|             <a href="[% search_node %]&q=[% row.remote_ip | uri %]"> | ||||
| @@ -305,7 +305,7 @@ | ||||
|           [% IF row.remote_type AND row.remote_type.match('(?i)ip.phone') %] | ||||
|             <i class="icon-phone"></i>  | ||||
|           [% ELSIF node.wireless.defined | ||||
|                    OR (row.remote_type AND row.remote_type.match('(cisco\s+AIR-[L|c]?AP|-K9W8-|^AP:\s)')) %] | ||||
|                    OR (row.remote_type AND row.remote_type.match('^AP:\s')) %] | ||||
|             <i class="icon-signal"></i>  | ||||
|           [% END %] | ||||
|           <a href="[% search_node %]&q=[% node.net_mac.$mac_format_call | uri %]"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user