When linking to devices, use the DNS name in preference to the IP
This commit is contained in:
		| @@ -14,7 +14,7 @@ | ||||
|   </tbody> | ||||
|     [% WHILE (row = results.next) %] | ||||
|     <tr> | ||||
|       <td><a href="[% uri_for('/device') %]?q=[% row.ip %]">[% row.dns.remove(settings.domain_suffix) || row.ip %]</a></td> | ||||
|       <td><a href="[% uri_for('/device') %]?q=[% row.dns || row.ip %]">[% row.dns || row.ip %]</a></td> | ||||
|       <td>[% row.contact %]</td> | ||||
|       <td>[% row.location %]</td> | ||||
|       <td>[% row.name %]</td> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user