X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?p=spider.git;a=blobdiff_plain;f=perl%2FDXProt.pm;h=5694ba05b217ba2f3b9a9adcda4ec1b712235217;hp=e01443490c174f5279b813e7ac0a198c160fdb9a;hb=c1540ccd7990ec4bd151604dd63583d19fe4d0f6;hpb=7a3918d750c1afaf42ab26eb89a7df9033ca9f37 diff --git a/perl/DXProt.pm b/perl/DXProt.pm index e0144349..5694ba05 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -32,7 +32,6 @@ use DXHash; use Route; use Route::Node; use Script; -use RouteDB; use DXProtHandle; use strict; @@ -1037,19 +1036,6 @@ sub route } } - # try the backstop method - unless ($dxchan) { - my $rcall = RouteDB::get($call); - if ($rcall) { - if ($self && $rcall eq $self->{call}) { - dbg("PCPROT: Trying to route back to source, dropped") if isdbg('chanerr'); - return; - } - $dxchan = DXChannel::get($rcall); - dbg("route: $call -> $rcall using RouteDB" ) if isdbg('route') && $dxchan; - } - } - if ($dxchan) { my $routeit = adjust_hops($dxchan, $line); # adjust its hop count by node name if ($routeit) { @@ -1228,7 +1214,7 @@ sub disconnect # do routing stuff, remove me from routing table my $node = Route::Node::get($call); - RouteDB::delete_interface($call); + Route::delete_interface($call); # unbusy and stop and outgoing mail my $mref = DXMsg::get_busy($call);