X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fdbshow.pl;h=36879ff551cd54409278622f4aea90eb83d76c1e;hb=refs%2Fheads%2Fnewprot;hp=503eafd1e1cefd572a757ea76ea7ef95c255a4b2;hpb=1e3ecabd8e006143df95e29f454ddd891933539d;p=spider.git diff --git a/cmd/dbshow.pl b/cmd/dbshow.pl index 503eafd1..36879ff5 100644 --- a/cmd/dbshow.pl +++ b/cmd/dbshow.pl @@ -24,7 +24,7 @@ foreach $n (@db) { if ($db->remote) { # remote databases - unless (DXCluster->get_exact($db->remote) || DXChannel->get($db->remote)) { + unless (Route::Node::get($db->remote) || DXChannel->get($db->remote)) { push @out, $self->msg('db4', uc $name, $db->remote); last; } @@ -33,7 +33,7 @@ foreach $n (@db) { push @f, " " unless @f; for (@f) { my $n = DXDb::newstream($self->call); - DXProt::route(undef, $db->remote, DXProt::pc44($main::mycall, $db->remote, $n, uc $db->name,uc $_, $self->call)); + DXChannel::route(undef, $db->remote, DXProt::pc44($main::mycall, $db->remote, $n, uc $db->name,uc $_, $self->call)); } last; } else {