X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=bc27395b209944be8341a8749fa4438a939ccd90;hb=64461bf14f8ce1a01d420a01f1cf056f13b7385b;hp=e01443490c174f5279b813e7ac0a198c160fdb9a;hpb=a48eea32af123b571889f70a3e7cef8e157cf389;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index e0144349..bc27395b 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; @@ -73,7 +72,7 @@ $pingint = 5*60; $obscount = 2; $chatdupeage = 20 * 60; $chatimportfn = "$main::root/chat_import"; -$pc19_version = 5454; # the visible version no for outgoing PC19s generated from pc59 +$pc19_version = 5455; # the visible version no for outgoing PC19s generated from pc59 $pc92_update_period = 4*60*60; # the period between outgoing PC92 C updates $pc92_short_update_period = 15*60; # shorten the update period after a connection or start up $pc92_extnode_update_period = 1*60*60; # the update period for external nodes @@ -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);