Since we know the zone, we know the domain name when parsing addresses
This commit is contained in:
parent
a886a389a8
commit
7d82cbcf12
@ -38,7 +38,7 @@ trait ParseAddresses
|
||||
// If domain should be flattened, look for node regardless of zone (within the list of zones for the domain)
|
||||
$ao = ($zone->domain->flatten)
|
||||
? Address::findZone($zone->domain,$net&DomainController::NUMBER_MAX,$node&DomainController::NUMBER_MAX,0)
|
||||
: Address::findFTN(sprintf('%d:%d/%d',$zone->zone_id,$net&DomainController::NUMBER_MAX,$node&DomainController::NUMBER_MAX));
|
||||
: Address::findFTN(sprintf('%d:%d/%d@%s',$zone->zone_id,$net&DomainController::NUMBER_MAX,$node&DomainController::NUMBER_MAX,$zone->domain->name));
|
||||
|
||||
switch ($type) {
|
||||
case 'seenby':
|
||||
|
Loading…
Reference in New Issue
Block a user