projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve instability
[spider.git]
/
cmd
/
rinit.pl
diff --git
a/cmd/rinit.pl
b/cmd/rinit.pl
index b49b2dbedc53a64ed5f75fa85ba7080fb59b022f..953a30a92e318fe297f0066f92847d57ed78a713 100644
(file)
--- a/
cmd/rinit.pl
+++ b/
cmd/rinit.pl
@@
-18,13
+18,10
@@
foreach $call (@calls) {
my $dxchan = DXChannel->get($call);
if ($dxchan) {
if ($dxchan->is_node) {
my $dxchan = DXChannel->get($call);
if ($dxchan) {
if ($dxchan->is_node) {
-
- # first clear out any nodes on this dxchannel
- my $node = Route::Node::get($self->{call});
- my @rout = $node->del_nodes if $node;
- DXProt::route_pc21($self, @rout);
- $dxchan->send(DXProt::pc20());
+ my $parent = Route::Node::get($call);
$dxchan->state('init');
$dxchan->state('init');
+ $dxchan->send_local_config;
+ $dxchan->send(DXProt::pc20());
push @out, $self->msg('init1', $call);
}
} else {
push @out, $self->msg('init1', $call);
}
} else {