]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[lacp] Fix dumping of raw LACP packets
authorMichael Brown <mcb30@ipxe.org>
Thu, 18 Nov 2010 17:41:44 +0000 (17:41 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 18 Nov 2010 17:41:44 +0000 (17:41 +0000)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/eth_slow.c

index 459801827af8bda1d97d976e30438d0024ea8bbb..9e68939cf3789ea2ffe65c9efd56a5ad9318fd2d 100644 (file)
@@ -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 ) );
 }
 
 /**