From: Dirk Koopman Date: Sun, 12 Jan 2014 17:59:50 +0000 (+0000) Subject: improve the previous fix for import_cmd slightly X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=commitdiff_plain;h=210ee86709c6be18a86b37201a82ef526ac85510 improve the previous fix for import_cmd slightly 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. --- diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 3c231140..09ab5451 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -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); diff --git a/perl/Version.pm b/perl/Version.pm index c531ab5f..7495e4f9 100644 --- a/perl/Version.pm +++ b/perl/Version.pm @@ -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;