use Route::Node;
use Script;
use DXProtHandle;
+use DXCIDR;
use strict;
$main::me->{version} = $main::version;
$main::me->{build} = $main::build;
$main::me->{do_pc9x} = 1;
+ $main::me->{hostname} = $main::clusteraddr;
$main::me->update_pc92_next($pc92_short_update_period);
$main::me->update_pc92_keepalive;
}
# log it
my $host = $self->{conn}->peerhost;
$host ||= "AGW Port #$self->{conn}->{agwport}" if exists $self->{conn}->{agwport};
+ $host ||= $host if is_ipaddr($host);
$host ||= "unknown";
+ $self->{hostname} = $host;
Log('DXProt', "$call connected from $host");
# taking into account filtering and so on
foreach $dxchan (@dxchan) {
next if $dxchan == $main::me;
- next if $dxchan == $self && $self->is_node;
+# next if $dxchan == $self && $self->is_node;
+ next if $dxchan == $self; # the spot is sent back to me by dx command
+
if ($line =~ /PC61/ && !($dxchan->is_spider || $dxchan->is_user)) {
unless ($pc11) {
my @f = split /\^/, $line;