From: Dirk Koopman Date: Wed, 10 Oct 2007 10:45:59 +0000 (+0100) Subject: push non-pc9x and non-spider nodes back for routing X-Git-Tag: 1.55~46 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=709a22cc74af221af2b60494866c5a01e5ac1a6c;p=spider.git push non-pc9x and non-spider nodes back for routing At the moment it appears that we can rely on non-spider nodes routing stuff correctly for mail and rcmd. So we push those routes to the back of the list. --- diff --git a/perl/Route.pm b/perl/Route.pm index 0f23d455..abc09847 100644 --- a/perl/Route.pm +++ b/perl/Route.pm @@ -312,7 +312,7 @@ sub findroutes unless ($seen->{$ncall}) { # put non-pc9x nodes to the back of the queue - my $l = $level + ($nref->{do_pc9x} ? 0 : 30); + my $l = $level + ($nref->{do_pc9x} && ($nref->{version}||5454) >= 5454 ? 0 : 30); dbg("recursing from $call -> $ncall level $l") if isdbg('routec'); my @rout = findroutes($ncall, $l+1, $seen); push @out, @rout; diff --git a/perl/Version.pm b/perl/Version.pm index 71aff4a0..42a16ea3 100644 --- a/perl/Version.pm +++ b/perl/Version.pm @@ -11,6 +11,6 @@ use vars qw($version $subversion $build); $version = '1.54'; $subversion = '0'; -$build = '168'; +$build = '169'; 1;