mirror of
https://github.com/LX3JL/xlxd.git
synced 2026-04-06 06:53:37 +00:00
Fix missing protocols from sanity checking
This commit is contained in:
parent
0ee16ba6b1
commit
16decd0bdb
2 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ class Node {
|
|||
|
||||
// Validate protocol
|
||||
$Protocol = trim($Protocol);
|
||||
$allowed_protocols = ['DPlus', 'DExtra', 'DCS', 'DMR', 'YSF', 'DEXTRA', 'DPLUS', 'DMRMmdvm'];
|
||||
$allowed_protocols = ['DPlus', 'DExtra', 'DCS', 'DMR', 'DMRplus', 'DMRMmdvm', 'YSF', 'XLX', 'Terminal/AP', 'IMRS', 'none'];
|
||||
$this->Protocol = in_array($Protocol, $allowed_protocols, true) ? $Protocol : 'Unknown';
|
||||
|
||||
$this->ConnectTime = ParseTime($ConnectTime);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue