From c0d33f7c1f1a55136c8bcfabaa8c8c370a4c5108 Mon Sep 17 00:00:00 2001 From: Marcin Siodelski Date: Wed, 11 Jul 2018 14:56:23 +0200 Subject: [PATCH] [5674] Pause in terminated and backup state. --- src/hooks/dhcp/high_availability/ha_service.cc | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.47.2