NCs should be /0 not /x
This commit is contained in:
@@ -70,7 +70,7 @@ class ZoneCheck extends Command
|
||||
|
||||
// NC address
|
||||
if ($ao->role === Address::NODE_NC) {
|
||||
if (($ao->node_id !== 0) && is_null($ao->hub_id) && ($ao->point_id === 0))
|
||||
if (($ao->node_id === 0) && is_null($ao->hub_id) && ($ao->point_id === 0))
|
||||
return 'OK';
|
||||
else
|
||||
return 'INVALID NC address';
|
||||
|
Reference in New Issue
Block a user