File 0011-fcoemon-Add-debugging-message-for-recv.patch of Package fcoe-utils
From b470ddf5122c38d6b9e878ca1c9f33c101896931 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Tue, 28 Jun 2016 13:47:16 +0200
Subject: fcoemon: Add debugging message for 'recv'
We already have a debugging message for 'send', so add the
corresponding 'recv' debugging message, too.
Signed-off-by: Hannes Reinecke <hare@suse.com>
---
fcoemon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fcoemon.c b/fcoemon.c
index 1f95c95..58137df 100644
--- a/fcoemon.c
+++ b/fcoemon.c
@@ -2204,6 +2204,7 @@ static void fcm_dcbd_rx(void *arg)
len = strlen(buf);
ASSERT(len <= rc);
+ FCM_LOG_DBG("recv '%s', len=%d bytes succeeded", buf, (int)len);
switch (buf[CLIF_RSP_MSG_OFF]) {
case CMD_RESPONSE:
st = fcm_get_hex(buf + CLIF_STAT_OFF, CLIF_STAT_LEN,
--
2.6.6