Fix for originating calls and not recognising that the remote accepted our password
This commit is contained in:
parent
6374725e8e
commit
f006d829f4
@ -289,7 +289,9 @@ class Node
|
|||||||
|
|
||||||
Log::debug(sprintf('%s:- Making sure we called [%s] from [%s]',self::LOGKEY,$this->originate->ftn,$this->ftns->pluck('ftn')->join(',')));
|
Log::debug(sprintf('%s:- Making sure we called [%s] from [%s]',self::LOGKEY,$this->originate->ftn,$this->ftns->pluck('ftn')->join(',')));
|
||||||
|
|
||||||
return $this->ftns->pluck('ftn')->contains($this->originate->ftn);
|
$this->authed = $this->ftns->pluck('ftn')->contains($this->originate->ftn);
|
||||||
|
|
||||||
|
return $this->authed;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function optionClear(int $key): void
|
public function optionClear(int $key): void
|
||||||
|
@ -1533,7 +1533,7 @@ final class Binkp extends BaseProtocol
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
// @todo We should only send netmail if unauthenticated - netmail that is direct to this node (no routing)
|
// @todo We should only send netmail if unauthenticated - netmail that is direct to this node (no routing)
|
||||||
Log::debug(sprintf('%s:- Not AUTHed so not looking for mail, but we know these akas [%s]',self::LOGKEY,$node->aka_remote->pluck('ftn')->join(',')));
|
Log::alert(sprintf('%s:- Not AUTHed so not looking for mail, but we know these akas [%s]',self::LOGKEY,$node->aka_remote->pluck('ftn')->join(',')));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user