|
|
|
@ -20,7 +20,7 @@ class Node {
|
|
|
|
|
|
|
|
|
|
|
|
// Validate protocol
|
|
|
|
// Validate protocol
|
|
|
|
$Protocol = trim($Protocol);
|
|
|
|
$Protocol = trim($Protocol);
|
|
|
|
$allowed_protocols = ['DPlus', 'DExtra', 'DCS', 'DMR', 'YSF', 'DEXTRA', 'DPLUS'];
|
|
|
|
$allowed_protocols = ['DPlus', 'DExtra', 'DCS', 'DMR', 'YSF', 'DEXTRA', 'DPLUS', 'DMRMmdvm'];
|
|
|
|
$this->Protocol = in_array($Protocol, $allowed_protocols, true) ? $Protocol : 'Unknown';
|
|
|
|
$this->Protocol = in_array($Protocol, $allowed_protocols, true) ? $Protocol : 'Unknown';
|
|
|
|
|
|
|
|
|
|
|
|
$this->ConnectTime = ParseTime($ConnectTime);
|
|
|
|
$this->ConnectTime = ParseTime($ConnectTime);
|
|
|
|
|