From 1d82a4cfddedba12a91f2844e1a6f7ecfeaae044 Mon Sep 17 00:00:00 2001 From: Sagar Jain <112644458+sagarjminim@users.noreply.github.com> Date: Wed, 14 Sep 2022 21:00:35 +0530 Subject: [PATCH] dt_collector: fixed compile error for UNUM_DEBUG=1 (#108) --- src/unum/devtelemetry/dt_collector.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/unum/devtelemetry/dt_collector.c b/src/unum/devtelemetry/dt_collector.c index 744d8625..02fae928 100644 --- a/src/unum/devtelemetry/dt_collector.c +++ b/src/unum/devtelemetry/dt_collector.c @@ -593,9 +593,9 @@ int dt_add_fe_conn(FE_CONN_t *fe_conn) DPRINTF("%s: unable to add fe connection p:%d" IP_PRINTF_FMT_TPL ":%hu <-> " IP_PRINTF_FMT_TPL ":%hu \n", __func__, fe_conn->hdr.proto, - IP_PRINTF_ARG_TPL(fe_conn->hdr.dev_ipv4.b), + IP_PRINTF_ARG_TPL(fe_conn->hdr.dev.ipv4.b), fe_conn->hdr.dev_port, - IP_PRINTF_ARG_TPL(fe_conn->hdr.peer_ipv4.b), + IP_PRINTF_ARG_TPL(fe_conn->hdr.peer.ipv4.b), fe_conn->hdr.peer_port); return FALSE; } @@ -607,9 +607,9 @@ int dt_add_fe_conn(FE_CONN_t *fe_conn) IP_PRINTF_FMT_TPL ":%hu <-> " IP_PRINTF_FMT_TPL ":%hu " "cur in/from:%u out/to:%u\n", __func__, (fe_conn->hdr.rev ? " rev" : ""), fe_conn->hdr.proto, - IP_PRINTF_ARG_TPL(fe_conn->hdr.dev_ipv4.b), + IP_PRINTF_ARG_TPL(fe_conn->hdr.dev.ipv4.b), fe_conn->hdr.dev_port, - IP_PRINTF_ARG_TPL(fe_conn->hdr.peer_ipv4.b), + IP_PRINTF_ARG_TPL(fe_conn->hdr.peer.ipv4.b), fe_conn->hdr.peer_port, conn->bytes_from[slice_num], conn->bytes_to[slice_num]); DPRINTF("%s: fe reported in:%llu out:%llu, read in:%llu out:%llu\n",