projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed sh/mydx properly this time!
[spider.git]
/
cmd
/
ping.pl
diff --git
a/cmd/ping.pl
b/cmd/ping.pl
index 9447b67b6f055e652da0fd1d39161aa10dba0015..aab2a3e6b2b94076f9b4ff0810465184ea49dd2f 100644
(file)
--- a/
cmd/ping.pl
+++ b/
cmd/ping.pl
@@
-20,10
+20,10
@@
return (1, $self->msg('e6')) if !$call;
return (1, $self->msg('pinge1')) if $call eq $main::mycall;
# can we see it? Is it a node?
return (1, $self->msg('pinge1')) if $call eq $main::mycall;
# can we see it? Is it a node?
-my $noderef =
DXCluster->get_exac
t($call);
-$noderef =
DXChannel->
get($call) unless $noderef;
+my $noderef =
Route::Node::ge
t($call);
+$noderef =
RouteDB::
get($call) unless $noderef;
-return (1, $self->msg('e7', $call))
if !$noderef || !$noderef->pcversion
;
+return (1, $self->msg('e7', $call))
unless $noderef
;
# ping it
DXProt::addping($self->call, $call);
# ping it
DXProt::addping($self->call, $call);