From d3638337422575c414c4bd793c0dbac39f297040 Mon Sep 17 00:00:00 2001 From: zhaoqingling Date: Fri, 5 Jan 2018 13:33:37 +0800 Subject: VPP-1115 Fix a debug log mistake when create AF_PACKET socket Change-Id: Id6607adbe5da8ae8472dde8bb442ca5f68f6d84f Signed-off-by: zhaoqingling --- src/vnet/devices/af_packet/af_packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/devices/af_packet') diff --git a/src/vnet/devices/af_packet/af_packet.c b/src/vnet/devices/af_packet/af_packet.c index eec3e4bc8ae..c51fded00c9 100644 --- a/src/vnet/devices/af_packet/af_packet.c +++ b/src/vnet/devices/af_packet/af_packet.c @@ -172,7 +172,7 @@ create_packet_v2_sock (int host_if_index, tpacket_req_t * rx_req, if ((err = setsockopt (*fd, SOL_PACKET, PACKET_TX_RING, tx_req, req_sz)) < 0) { - DBG_SOCK ("Failed to set packet rx ring options"); + DBG_SOCK ("Failed to set packet tx ring options"); ret = VNET_API_ERROR_SYSCALL_ERROR_1; goto error; } -- cgit 1.2.3-korg