projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix problem with outgoing connects also sending connect string
[spider.git]
/
perl
/
Route.pm
diff --git
a/perl/Route.pm
b/perl/Route.pm
index 0150d5bfd3b92b7c7d3cf8c391ce30ca1f089756..e5d89828e50b548d44aa9498c99cab6db974a768 100644
(file)
--- a/
perl/Route.pm
+++ b/
perl/Route.pm
@@
-58,6
+58,7
@@
sub new
$self->{itu} = $dxcc[1]->itu;
$self->{cq} = $dxcc[1]->cq;
}
$self->{itu} = $dxcc[1]->itu;
$self->{cq} = $dxcc[1]->cq;
}
+ $self->{flags} = here(1);
return $self;
}
return $self;
}
@@
-241,7
+242,7
@@
sub alldxchan
foreach my $p (@{$self->{parent}}) {
my $dxchan = DXChannel->get($p);
if ($dxchan) {
foreach my $p (@{$self->{parent}}) {
my $dxchan = DXChannel->get($p);
if ($dxchan) {
- push @dxchan, $dxchan
if grep $dxchan ne
$_, @dxchan;
+ push @dxchan, $dxchan
unless grep $dxchan ==
$_, @dxchan;
} else {
next if $p eq $main::mycall; # the root
my $ref = $self->get($p);
} else {
next if $p eq $main::mycall; # the root
my $ref = $self->get($p);
@@
-255,7
+256,7
@@
sub dxchan
{
my $self = shift;
my $dxchan = DXChannel->get($self->{call});
{
my $self = shift;
my $dxchan = DXChannel->get($self->{call});
- return $dxchan
=
$dxchan;
+ return $dxchan
if
$dxchan;
my @dxchan = $self->alldxchan;
return undef unless @dxchan;
my @dxchan = $self->alldxchan;
return undef unless @dxchan;