Browse Source

[lacp] Fix dumping of raw LACP packets

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 years ago
parent
commit
3d9096f719
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/net/eth_slow.c

+ 2
- 2
src/net/eth_slow.c View File

@@ -129,7 +129,7 @@ static void eth_slow_lacp_dump ( struct io_buffer *iobuf,
129 129
 	DBGC ( netdev, "SLOW %s %s LACP collector %04x (%d us)\n",
130 130
 	       netdev->name, label, ntohs ( lacp->collector.max_delay ),
131 131
 	       ( ntohs ( lacp->collector.max_delay ) * 10 ) );
132
-	DBGC2_HDA ( netdev, 0, iobuf, iob_len ( iobuf ) );
132
+	DBGC2_HDA ( netdev, 0, iobuf->data, iob_len ( iobuf ) );
133 133
 }
134 134
 
135 135
 /**
@@ -197,7 +197,7 @@ static void eth_slow_marker_dump ( struct io_buffer *iobuf,
197 197
 	       ntohs ( marker->marker.port ),
198 198
 	       eth_ntoa ( marker->marker.system ),
199 199
 	       ntohl ( marker->marker.xact ) );
200
-	DBGC2_HDA ( netdev, 0, iobuf, iob_len ( iobuf ) );
200
+	DBGC2_HDA ( netdev, 0, iobuf->data, iob_len ( iobuf ) );
201 201
 }
202 202
 
203 203
 /**

Loading…
Cancel
Save