diff mbox series

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

Message ID 20231124174025.971512-3-gerickson@nuovations.com (mailing list archive)
State Not Applicable, archived
Headers show
Series service: Minor address_updated Changes | expand

Commit Message

Grant Erickson Nov. 24, 2023, 5:40 p.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 b98ec00f808c..ce02aa62fb7c 100644
--- a/src/service.c
+++ b/src/service.c
@@ -2238,6 +2238,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);