summaryrefslogtreecommitdiffstats
path: root/src/net/eth_slow.c
diff options
context:
space:
mode:
authorMichael Brown2010-11-18 18:41:44 +0100
committerMichael Brown2010-11-18 18:41:44 +0100
commit3d9096f7192bd153f4b1bec32dc8902fc3704594 (patch)
tree2844681ec1e95fd8102e5666938e401ed5f4efe8 /src/net/eth_slow.c
parent[netdevice] Use net device name in debugging messages (diff)
downloadipxe-3d9096f7192bd153f4b1bec32dc8902fc3704594.tar.gz
ipxe-3d9096f7192bd153f4b1bec32dc8902fc3704594.tar.xz
ipxe-3d9096f7192bd153f4b1bec32dc8902fc3704594.zip
[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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eth_slow.c b/src/net/eth_slow.c
index 45980182..9e68939c 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 ) );
}
/**