From: Michael Brown Date: Thu, 18 Nov 2010 17:41:44 +0000 (+0000) Subject: [lacp] Fix dumping of raw LACP packets X-Git-Tag: v1.20.1~2431 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d9096f7192bd153f4b1bec32dc8902fc3704594;p=thirdparty%2Fipxe.git [lacp] Fix dumping of raw LACP packets Signed-off-by: Michael Brown --- diff --git a/src/net/eth_slow.c b/src/net/eth_slow.c index 459801827..9e68939cf 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 ) ); } /**