You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sort devices on name, not on IP-address. The select box is a 'sorted-on-ip' list. Make it possible to sort on name. This makes it hard to do as the $iplist is in the for-loop. So maybe an array in between?
Q&D
$devices = array();
forearch ($iplist as $ip) {
if (isset($hostname[$ip])) {
$hn = $hostname[$ip];
$devices[$hn] = $ip;
}
}
sort($devices);
Then on line 737 in index.php, adjust the for-loop from '$iplist as $ip' to '$devices as $dev' and modify the remainders in the loop.
However, this does work properly with the unnamed hosts.
The text was updated successfully, but these errors were encountered:
Sort devices on name, not on IP-address. The select box is a 'sorted-on-ip' list. Make it possible to sort on name. This makes it hard to do as the $iplist is in the for-loop. So maybe an array in between?
Q&D
Then on line 737 in index.php, adjust the for-loop from '$iplist as $ip' to '$devices as $dev' and modify the remainders in the loop.
However, this does work properly with the unnamed hosts.
The text was updated successfully, but these errors were encountered: