mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
(legacy) fix typo in legacy_traffic_stats.php
This commit is contained in:
parent
b991dd8ab2
commit
c22f7da626
@ -72,7 +72,7 @@ if (!does_interface_exist($real_interface)) {
|
||||
if (!empty($_GET['hostipformat'])) {
|
||||
$addrdata = gethostbyaddr($fields[0]);
|
||||
if ($_GET['hostipformat'] == 'hostname' && $addrdata != $fields[0]){
|
||||
$addrdata = explode(".", $fields)[0];
|
||||
$addrdata = explode(".", $addrdata)[0];
|
||||
}
|
||||
} else {
|
||||
$addrdata = $fields[0];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user