Browse Source

[lacp] Fix dumping of raw LACP packets

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 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
 	DBGC ( netdev, "SLOW %s %s LACP collector %04x (%d us)\n",
129
 	DBGC ( netdev, "SLOW %s %s LACP collector %04x (%d us)\n",
130
 	       netdev->name, label, ntohs ( lacp->collector.max_delay ),
130
 	       netdev->name, label, ntohs ( lacp->collector.max_delay ),
131
 	       ( ntohs ( lacp->collector.max_delay ) * 10 ) );
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
 	       ntohs ( marker->marker.port ),
197
 	       ntohs ( marker->marker.port ),
198
 	       eth_ntoa ( marker->marker.system ),
198
 	       eth_ntoa ( marker->marker.system ),
199
 	       ntohl ( marker->marker.xact ) );
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