When linking to devices, use the DNS name in preference to the IP
This commit is contained in:
		| @@ -97,7 +97,7 @@ get '/search' => sub { | ||||
|                     if ($nd->count == 1) { | ||||
|                         # redirect to device details for the one device | ||||
|                         redirect uri_for('/device', | ||||
|                           {tab => 'details', q => $nd->first->ip, f => ''}); | ||||
|                           {tab => 'details', q => $nd->first->dns, f => ''}); | ||||
|                     } | ||||
|                     params->{'tab'} = 'device'; | ||||
|                 } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user