From 709a22cc74af221af2b60494866c5a01e5ac1a6c Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Wed, 10 Oct 2007 11:45:59 +0100 Subject: [PATCH] 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. --- perl/Route.pm | 2 +- perl/Version.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.34.1