From 9b48682667f2d9042cb3e73b8a6da2b23073f8ed Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Mon, 13 Apr 2015 10:46:11 +0000 Subject: [PATCH] Fixed debugging for fragmented packets. FossilOrigin-Name: 1a4c19ca1296f3e82ddc4e5f27674bf15814b842f67add841cc8ba554f3d32ff --- src/capwap/conn_process_packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/capwap/conn_process_packet.c b/src/capwap/conn_process_packet.c index a159fe05..69e6b20b 100644 --- a/src/capwap/conn_process_packet.c +++ b/src/capwap/conn_process_packet.c @@ -436,7 +436,7 @@ int conn_process_packet(struct conn *conn, uint8_t * packet, int len,struct sock if (f == NULL) return 0; - cw_dbg_msg(DBG_MSG_IN, conn, packet, len,from); + cw_dbg_msg(DBG_MSG_IN, conn, f+4, *(uint32_t*)f,from); int rc = process_message(conn, f + 4, *(uint32_t *) f, from); free(f);