diff options
author | zhaoqingling <zhao.qingling@zte.com.cn> | 2018-01-05 13:33:37 +0800 |
---|---|---|
committer | zhaoqingling <zhao.qingling@zte.com.cn> | 2018-01-05 13:36:59 +0800 |
commit | d3638337422575c414c4bd793c0dbac39f297040 (patch) | |
tree | 142fff9a63dd9420626997e7758dc09914fc466e /src/vnet/devices | |
parent | 842eb22e5d5a7e11114fe093eeccafb080e9aa8b (diff) |
VPP-1115 Fix a debug log mistake when create AF_PACKET socket
Change-Id: Id6607adbe5da8ae8472dde8bb442ca5f68f6d84f
Signed-off-by: zhaoqingling <zhao.qingling@zte.com.cn>
Diffstat (limited to 'src/vnet/devices')
-rw-r--r-- | src/vnet/devices/af_packet/af_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |