diff mbox series

[2/3] service: Add DBG statement to 'address_updated'.

Message ID 20231116030912.636756-3-gerickson@nuovations.com (mailing list archive)
State Superseded
Headers show
Series service: Minor address_updated Changes | expand

Commit Message

Grant Erickson Nov. 16, 2023, 3:09 a.m. UTC
This adds a DBG statement to 'address_upated' to aid in debugging.
---
 src/service.c | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/src/service.c b/src/service.c
index 90ed111fc035..f0e8364ee77b 100644
--- a/src/service.c
+++ b/src/service.c
@@ -2018,6 +2018,11 @@  void __connman_service_wispr_start(struct connman_service *service,
 static void address_updated(struct connman_service *service,
 			enum connman_ipconfig_type type)
 {
+	DBG("service %p (%s) type %d (%s)",
+		service,
+		connman_service_get_identifier(service),
+		type, __connman_ipconfig_type2string(type));
+
 	if (is_connected(service->state) &&
 			connman_service_is_default(service)) {
 		nameserver_remove_all(service, type);