From 3d9096f7192bd153f4b1bec32dc8902fc3704594 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 18 Nov 2010 17:41:44 +0000 Subject: [PATCH] [lacp] Fix dumping of raw LACP packets Signed-off-by: Michael Brown --- src/net/eth_slow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/eth_slow.c b/src/net/eth_slow.c index 45980182..9e68939c 100644 --- a/src/net/eth_slow.c +++ b/src/net/eth_slow.c @@ -129,7 +129,7 @@ static void eth_slow_lacp_dump ( struct io_buffer *iobuf, DBGC ( netdev, "SLOW %s %s LACP collector %04x (%d us)\n", netdev->name, label, ntohs ( lacp->collector.max_delay ), ( ntohs ( lacp->collector.max_delay ) * 10 ) ); - DBGC2_HDA ( netdev, 0, iobuf, iob_len ( iobuf ) ); + DBGC2_HDA ( netdev, 0, iobuf->data, iob_len ( iobuf ) ); } /** @@ -197,7 +197,7 @@ static void eth_slow_marker_dump ( struct io_buffer *iobuf, ntohs ( marker->marker.port ), eth_ntoa ( marker->marker.system ), ntohl ( marker->marker.xact ) ); - DBGC2_HDA ( netdev, 0, iobuf, iob_len ( iobuf ) ); + DBGC2_HDA ( netdev, 0, iobuf->data, iob_len ( iobuf ) ); } /**