X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=cmd%2Fload%2Fhops.pl;fp=cmd%2Fload%2Fhops.pl;h=592b7920ff99157109a159335a2c590beb7e32cf;hb=cce161221036760959ff1d0b7628a55942bf558a;hp=0000000000000000000000000000000000000000;hpb=69c8aeb338cc485103e289fbab7ec4e7e056ed20;p=spider.git diff --git a/cmd/load/hops.pl b/cmd/load/hops.pl new file mode 100644 index 00000000..592b7920 --- /dev/null +++ b/cmd/load/hops.pl @@ -0,0 +1,8 @@ +# +# load the node hop count table after changing it +# +my $self = shift; +return (0, $self->msg('e5')) if $self->priv < 9; +my @out = DXProt::load_hops($self); +@out = ($self->msg('ok')) if !@out; +return (1, @out);