diff options
author | Michael Brown <mcb30@ipxe.org> | 2010-11-18 17:41:44 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2010-11-18 17:41:44 +0000 |
commit | 3d9096f7192bd153f4b1bec32dc8902fc3704594 (patch) | |
tree | 2844681ec1e95fd8102e5666938e401ed5f4efe8 /src/net/eth_slow.c | |
parent | 24fc6aa5b03ac1b8506a8897996324e1c78b7b5a (diff) | |
download | ipxe-3d9096f7192bd153f4b1bec32dc8902fc3704594.tar.gz |
[lacp] Fix dumping of raw LACP packets
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/eth_slow.c')
-rw-r--r-- | src/net/eth_slow.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) ); } /** |