From c369b7046e1687bdb7b67a0fae2f1168f0088783 Mon Sep 17 00:00:00 2001 From: Andrew Lynch Date: Thu, 16 Dec 2021 15:40:14 -0600 Subject: dpdk: correct MTU warning message --- host/lib/transport/uhd-dpdk/dpdk_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/lib/transport/uhd-dpdk/dpdk_common.cpp b/host/lib/transport/uhd-dpdk/dpdk_common.cpp index 7ad124408..a84b0f4a3 100644 --- a/host/lib/transport/uhd-dpdk/dpdk_common.cpp +++ b/host/lib/transport/uhd-dpdk/dpdk_common.cpp @@ -90,7 +90,7 @@ dpdk_port::dpdk_port(port_id_t port, << boost::format("Port %d: Could not set mtu to %d") % _port % _mtu; rte_eth_dev_get_mtu(_port, &actual_mtu); UHD_LOGGER_WARNING("DPDK") - << boost::format("Port %d: Current mtu=%d") % _port % _mtu; + << boost::format("Port %d: Current mtu=%d") % _port % actual_mtu; _mtu = actual_mtu; } -- cgit v1.2.3