diff mbox series

[22/60] service: Add per-service online check failure threshold state.

Message ID 20231221061734.2344286-23-gerickson@nuovations.com (mailing list archive)
State Superseded
Headers show
Series Complete 'continuous' Online Check Mode Implementation. | expand

Commit Message

Grant Erickson Dec. 21, 2023, 6:16 a.m. UTC
This adds per-service state that tracks whether the service has met
the number of sustained, back-to-back "online" reachability check
failures for continuous" online check mode.
---
 src/service.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/src/service.c b/src/service.c
index 5f9dcab58092..d75399062ed7 100644
--- a/src/service.c
+++ b/src/service.c
@@ -188,6 +188,7 @@  struct connman_service {
 	bool wps_advertizing;
 	struct online_check_state online_check_state_ipv4;
 	struct online_check_state online_check_state_ipv6;
+	bool online_check_failures_met_threshold;
 	bool do_split_routing;
 	bool new_service;
 	bool hidden_service;