diff --git a/include/functions.php b/include/functions.php index e055f47..9f3c95e 100644 --- a/include/functions.php +++ b/include/functions.php @@ -461,6 +461,17 @@ function getActualReflector($logLines, $mode) { return "Reflector ".$from; } } + $source = "RF"; + if (strpos($logLine,"network") > 0 ) { + $source = "Net"; + } + + if ( $source == "RF") { + $to = substr($logLine, strpos($logLine, "to") + 3); + if (strlen($to) == 5 && startsWith($to, "4")) { + return "Reflector ".$to; + } + } } } return "Reflector not linked";