[PATCH 3/3] unit: Pass in max logging level for dhcp

Michael Johnson <mjohnson459 at gmail.com>
Newsgroups dev.linux.lists.ell
Message-ID <[email protected]>
---
 unit/test-dhcp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unit/test-dhcp.c b/unit/test-dhcp.c
index e734e03..3c340fc 100644
--- a/unit/test-dhcp.c
+++ b/unit/test-dhcp.c
@@ -811,7 +811,7 @@ static struct l_dhcp_client *client_init(const uint8_t *mac)
 				event_handler_lease_obtained, NULL, NULL));
 
 	if (verbose)
-		l_dhcp_client_set_debug(client, do_debug, "[DHCP1] ", NULL);
+		l_dhcp_client_set_debug(client, do_debug, "[DHCP1] ", NULL, L_LOG_DEBUG);
 
 	transport->send = fake_transport_send;
 	transport->l2_send = fake_transport_l2_send;
-- 
2.25.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.