upissue to 1.51 and added VERSION stuff to Chain.pm
[spider.git] / perl / cluster.pl
index 6893b7087b77a14353204c6def891390a76f2950..f1cf1227ca77b3b55f55fad314c1861b7860af44 100755 (executable)
@@ -95,6 +95,7 @@ use Route;
 use Route::Node;
 use Route::User;
 use Editable;
+use Mrtg;
 
 use Data::Dumper;
 use IO::File;
@@ -113,7 +114,7 @@ use vars qw(@inqueue $systime $version $starttime $lockfn @outstanding_connects
 
 @inqueue = ();                                 # the main input queue, an array of hashes
 $systime = 0;                                  # the time now (in seconds)
-$version = "1.50";                             # the version no of the software
+$version = "1.51";                             # the version no of the software
 $starttime = 0;                 # the starting time of the cluster   
 #@outstanding_connects = ();     # list of outstanding connects
 @listeners = ();                               # list of listeners
@@ -121,8 +122,8 @@ $reqreg = 0;                                        # 1 = registration required, 2 = deregister people
 
 use vars qw($VERSION $BRANCH $build $branch);
 $VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ ) || 0;
-$main::build += 11;                            # add an offset to make it bigger than last system
+$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/  || (0,0));
+$main::build += 8;                             # add an offset to make it bigger than last system
 $main::build += $VERSION;
 $main::branch += $BRANCH;