projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove shadow $i
[spider.git]
/
cmd
/
init.pl
diff --git
a/cmd/init.pl
b/cmd/init.pl
index 0107f91645aa7d1ec3054e14d03b694c04c0fcfa..b88ed013352bcb4d0c396917332ad09a5a507b58 100644
(file)
--- a/
cmd/init.pl
+++ b/
cmd/init.pl
@@
-1,5
+1,5
@@
#
#
-#
re
init a cluster connection
+# init a cluster connection
#
# Copyright (c) 1999 Dirk Koopman G1TLH
#
#
# Copyright (c) 1999 Dirk Koopman G1TLH
#
@@
-17,7
+17,7
@@
foreach $call (@calls) {
next if $call eq $main::mycall;
my $dxchan = DXChannel->get($call);
if ($dxchan) {
next if $call eq $main::mycall;
my $dxchan = DXChannel->get($call);
if ($dxchan) {
- if ($dxchan->is_
ak1a
) {
+ if ($dxchan->is_
node
) {
# first clear out any nodes on this dxchannel
my @gonenodes = grep { $_->dxchan == $dxchan } DXNode::get_all();
# first clear out any nodes on this dxchannel
my @gonenodes = grep { $_->dxchan == $dxchan } DXNode::get_all();
@@
-27,7
+27,7
@@
foreach $call (@calls) {
DXProt::broadcast_ak1a(DXProt::pc21($node->call, 'Gone, re-init') , $dxchan) unless $dxchan->{isolate};
$node->del();
}
DXProt::broadcast_ak1a(DXProt::pc21($node->call, 'Gone, re-init') , $dxchan) unless $dxchan->{isolate};
$node->del();
}
-
$dxchan->send(DXProt::pc38());
+
#
$dxchan->send(DXProt::pc38());
$dxchan->send(DXProt::pc18());
$dxchan->state('init');
push @out, $self->msg('init1', $call);
$dxchan->send(DXProt::pc18());
$dxchan->state('init');
push @out, $self->msg('init1', $call);