diff options
author | Grant Erickson <gerickson@nuovations.com> | 2023-12-15 22:12:15 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2023-12-16 19:45:28 +0100 |
commit | ba04dcf066edf81ff70cc7ad898c34e2d05a4d9a (patch) | |
tree | ddfd80a3a66cdcadefcc20c99b078cab94b198cf | |
parent | 89bf31b00d5248677f0c329f62c208f0982f3920 (diff) | |
download | connman-ba04dcf066edf81ff70cc7ad898c34e2d05a4d9a.tar.gz |
wispr: Expand 'DBG' in 'wispr_portal_detect'.
This includes both the network interface index and name in the 'DBG'
in 'wispr_portal_detect' to make it easier to identify on which
network interface the WISPr portal detection is being made.
-rw-r--r-- | src/wispr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wispr.c b/src/wispr.c index 9cd1e7db5..ba774a62d 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -1104,8 +1104,6 @@ static int wispr_portal_detect(struct connman_wispr_portal_context *wp_context, if (!interface) return -EINVAL; - DBG("interface %s", interface); - if_index = connman_inet_ifindex(interface); if (if_index < 0) { DBG("Could not get ifindex"); @@ -1113,6 +1111,8 @@ static int wispr_portal_detect(struct connman_wispr_portal_context *wp_context, goto done; } + DBG("index %d (%s)", if_index, interface); + nameservers = connman_service_get_nameservers(wp_context->service); if (!nameservers) { DBG("Could not get nameservers"); |