aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lynch <andrew.lynch@ni.com>2021-12-16 15:40:14 -0600
committerAaron Rossetto <aaron.rossetto@ni.com>2021-12-17 11:18:42 -0600
commitc369b7046e1687bdb7b67a0fae2f1168f0088783 (patch)
tree882b4affae7669025bcdebb50904abd27795fbdb
parent6a2e566c562db861eb86648ad98d278eceba8236 (diff)
downloaduhd-c369b7046e1687bdb7b67a0fae2f1168f0088783.tar.gz
uhd-c369b7046e1687bdb7b67a0fae2f1168f0088783.tar.bz2
uhd-c369b7046e1687bdb7b67a0fae2f1168f0088783.zip
dpdk: correct MTU warning message
-rw-r--r--host/lib/transport/uhd-dpdk/dpdk_common.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}