projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add user level ping as link check command
[spider.git]
/
perl
/
DXChannel.pm
diff --git
a/perl/DXChannel.pm
b/perl/DXChannel.pm
index 56b96faa126d91d1b3256d7bba8944dfc453402b..240142c65107a80e6979fa417935f247fd4f1866 100644
(file)
--- a/
perl/DXChannel.pm
+++ b/
perl/DXChannel.pm
@@
-135,7
+135,7
@@
$count = 0;
wx => '0,Want WX,yesno',
);
wx => '0,Want WX,yesno',
);
-$maxerrors =
20;
# the maximum number of concurrent errors allowed before disconnection
+$maxerrors =
5;
# the maximum number of concurrent errors allowed before disconnection
# object destruction
sub DESTROY
# object destruction
sub DESTROY
@@
-175,6
+175,7
@@
sub alloc
$self->{lang} = $main::lang if !$self->{lang};
$self->{func} = "";
$self->{width} ||= 80;
$self->{lang} = $main::lang if !$self->{lang};
$self->{func} = "";
$self->{width} ||= 80;
+ $self->{_nospawn} = 0;
# add in all the dxcc, itu, zone info
my @dxcc = Prefix::extract($call);
# add in all the dxcc, itu, zone info
my @dxcc = Prefix::extract($call);
@@
-185,7
+186,10
@@
sub alloc
}
$self->{inqueue} = [];
}
$self->{inqueue} = [];
- $self->{hostname} = $self->{conn}->peerhost if $conn;
+ if ($conn) {
+ $self->{hostname} = $self->{conn}->peerhost;
+ $self->{sockhost} = $self->{conn}->sockhost;
+ }
$count++;
dbg("DXChannel $self->{call} created ($count)") if isdbg('chan');
$count++;
dbg("DXChannel $self->{call} created ($count)") if isdbg('chan');