Auto create nodes that are discovered by message packets

This commit is contained in:
Deon George
2021-09-11 23:32:10 +10:00
parent 04e8a899d4
commit fcdde10512
5 changed files with 87 additions and 22 deletions

View File

@@ -69,6 +69,7 @@ class Address extends Model
break;
case DomainController::NODE_UNKNOWN:
case DomainController::NODE_ACTIVE:
case DomainController::NODE_POINT:
// Nodes dont have children, but must return a relationship instance
@@ -181,6 +182,7 @@ class Address extends Model
break;
case DomainController::NODE_UNKNOWN:
case DomainController::NODE_POINT:
// @todo Points - if the boss is defined, we should return it.
return NULL;