added definedness test to $local_port as it was emitting errors to to not being defined. My previous commit to TcpServer.pm fixed that problem.
Signed-off-by: Robert <rspier@pobox.com>
This commit is contained in:
parent
5f81fd7925
commit
e8cb1c3e94
@ -143,7 +143,7 @@ sub hook_connect {
|
||||
my ($self, $transaction) = @_;
|
||||
|
||||
my $local_port = $self->qp->connection->local_port;
|
||||
return DECLINED unless $local_port == 465; # SMTPS
|
||||
return DECLINED unless defined $local_port && $local_port == 465; # SMTPS
|
||||
|
||||
unless ( _convert_to_ssl($self) ) {
|
||||
return (DENY_DISCONNECT, "Cannot establish SSL session");
|
||||
|
Loading…
Reference in New Issue
Block a user