From 9181c2946c882ee6cfcdd3a57b3ae6f8f13427c5 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 18 Sep 2019 11:22:10 +0200 Subject: [PATCH] Log what is our conf --- src/meas_lat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/meas_lat.c b/src/meas_lat.c index 2565a0e..1c14afa 100644 --- a/src/meas_lat.c +++ b/src/meas_lat.c @@ -330,6 +330,8 @@ int main(int argc, char** argv) { if (mctx.size < header_size) mctx.size = header_size; if (mctx.transport == NULL) mctx.transport = "udp"; if (mctx.host == NULL || mctx.port == NULL) goto usage; + printf("[measlat_conf] host=%s, port=%s, transport=%s, count=%d, size=%d, interval=%d\n", + mctx.host, mctx.port, mctx.transport, mctx.count, mctx.size, mctx.interval); // 3. Bind events register_categories(&evts, &mctx);