allow 'route' to find all routable things instead of just nodes
[spider.git] / perl / DXProt.pm
index e184685bd7341e2c0bf55c517073fd8e34c42f1a..f72fe8903a37bbe5c1c17a201b99eb936e69b49c 100644 (file)
@@ -1488,7 +1488,7 @@ sub route
        # always send it down the local interface if available
        my $dxchan = DXChannel->get($call);
        unless ($dxchan) {
-               my $cl = Route::Node::get($call);
+               my $cl = Route::get($call);
                $dxchan = $cl->dxchan if $cl;
                if (ref $dxchan) {
                        if (ref $self && $dxchan eq $self) {