domain->flatten) ? Address::findZone($zone->domain,$net&Address::ADDRESS_FIELD_MAX,$node&Address::ADDRESS_FIELD_MAX,0) : Address::findFTN(sprintf('%d:%d/%d@%s',$zone->zone_id,$net&Address::ADDRESS_FIELD_MAX,$node&Address::ADDRESS_FIELD_MAX,$zone->domain->name),TRUE,TRUE); switch ($type) { case 'seenby': if (! $ao) $rogue->push(sprintf('%d:%d/%d',$zone->domain->flatten ? 0 : $zone->zone_id,$net&Address::ADDRESS_FIELD_MAX,$node&Address::ADDRESS_FIELD_MAX)); else $nodes->push($ao->id); break; case 'path': if (! $ao) { $ftn = sprintf('%d:%d/%d@%s',$zone->zone_id,$net&Address::ADDRESS_FIELD_MAX,$node&Address::ADDRESS_FIELD_MAX,$zone->domain->name); Log::info(sprintf('%s:- Creating address [%s] for path',self::LOGKEY,$ftn)); $ao = Address::createFTN($ftn,System::createUnknownSystem()); } $nodes->push($ao->id); break; } } } return $nodes; } }