add beginnings of a route find command.
[spider.git] / perl / DXCommandmode.pm
index 6fbe90482f23dcaae9b34db21c97f877c15e5618..18f37e88cb483c806ccd9750451f229ef45c9f9f 100644 (file)
@@ -1174,5 +1174,12 @@ sub import_cmd
                }
        }
 }
+
+sub print_find_reply
+{
+       my ($self, $node, $target, $flag, $ms) = @_;
+       my $sort = $flag == 2 ? "External" : "Local";
+       $self->send("$sort $target found at $node in $ms ms" );
+}
 1;
 __END__