From: Marcin Siodelski Date: Wed, 11 Jul 2018 12:56:23 +0000 (+0200) Subject: [5674] Pause in terminated and backup state. X-Git-Tag: ha_phase2~54^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0d33f7c1f1a55136c8bcfabaa8c8c370a4c5108;p=thirdparty%2Fkea.git [5674] Pause in terminated and backup state. --- diff --git a/src/hooks/dhcp/high_availability/ha_service.cc b/src/hooks/dhcp/high_availability/ha_service.cc index e917e13017..8546dab1c4 100644 --- a/src/hooks/dhcp/high_availability/ha_service.cc +++ b/src/hooks/dhcp/high_availability/ha_service.cc @@ -115,6 +115,7 @@ HAService::backupStateHandler() { if (doOnEntry()) { query_filter_.serveNoScopes(); adjustNetworkState(); + state_machine_control_.notify(getCurrState()); } // There is nothing to do in that state. This server simply receives @@ -368,6 +369,7 @@ HAService::terminatedStateHandler() { if (doOnEntry()) { query_filter_.serveDefaultScopes(); adjustNetworkState(); + state_machine_control_.notify(getCurrState()); // In the terminated state we don't send heartbeat. communication_state_->stopHeartbeat();