1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

dns-sort: reduce logging to info

This commit is contained in:
Andy Green 2020-12-15 15:03:33 +00:00
parent 3cd5492a15
commit cdbd50a2e6

View file

@ -557,7 +557,7 @@ lws_sort_dns_dump(struct lws *wsi)
(void)n; /* nologs */
if (!lws_dll2_get_head(&wsi->dns_sorted_list))
lwsl_notice("%s: empty\n", __func__);
lwsl_info("%s: empty\n", __func__);
lws_start_foreach_dll(struct lws_dll2 *, d,
lws_dll2_get_head(&wsi->dns_sorted_list)) {
@ -567,7 +567,7 @@ lws_sort_dns_dump(struct lws *wsi)
lws_sa46_write_numeric_address(&s->dest, dest, sizeof(dest));
lws_sa46_write_numeric_address(&s->gateway, gw, sizeof(gw));
lwsl_notice("%s: %d: (%d)%s, gw (%d)%s, idi: %d, "
lwsl_info("%s: %d: (%d)%s, gw (%d)%s, idi: %d, "
"lbl: %d, prec: %d\n",
__func__, n++, s->dest.sa4.sin_family, dest,
s->gateway.sa4.sin_family, gw,