]> dxcluster.net Git - spider.git/commitdiff
improve the previous fix for import_cmd slightly
authorDirk Koopman <djk@tobit.co.uk>
Sun, 12 Jan 2014 17:59:50 +0000 (17:59 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Sun, 12 Jan 2014 17:59:50 +0000 (17:59 +0000)
Make sure that if a Route::Node disappears and the software clucks
in broadcast_pc92_update/broadcast_pc92_keepalive then STILL update
the timer so that it doesn't continue to cluck every 10 seconds.

perl/DXProt.pm
perl/Version.pm

index 3c2311404065fbcbbf026e17dc5c86da4acbd5e2..09ab54512c6a2a231527ad18d1225c12237f0c2b 100644 (file)
@@ -956,6 +956,7 @@ sub broadcast_pc92_update
        my $nref = Route::Node::get($call);
        unless ($nref) {
                cluck("ERROR: broadcast_pc92_update - Route::Node $call disappeared");
+               $self->update_pc92_next;
                return;
        }
        my $l = $nref->last_PC92C(gen_my_pc92_config($nref));
@@ -974,6 +975,7 @@ sub broadcast_pc92_keepalive
        my $nref = Route::Node::get($call);
        unless ($nref) {
                cluck("ERROR: broadcast_pc92_keepalive - Route::Node $call disappeared");
+               $self->update_pc92_keepalive;
                return;
        }
        my $l = pc92k($nref);
index c531ab5fc51f07796c4e22ab4f841c7d67733c69..7495e4f97d0a40c01e55951a2e1789b81e3cc872 100644 (file)
@@ -11,7 +11,7 @@ use vars qw($version $subversion $build $gitversion);
 
 $version = '1.55';
 $subversion = '0';
-$build = '140';
-$gitversion = '94c061b';
+$build = '141';
+$gitversion = '536ca8c';
 
 1;