summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2007-09-17 19:57:32 +0200
committerMichael Brown2007-09-21 02:17:46 +0200
commit1af346b5315987cbc89a789dd5246ccb8c845437 (patch)
tree77d2b341cd01135598a28ae7e5d8847ec660da10
parentUse RFC4390 whenever hardware address exceeds 16 bytes; this allows us (diff)
downloadipxe-1af346b5315987cbc89a789dd5246ccb8c845437.tar.gz
ipxe-1af346b5315987cbc89a789dd5246ccb8c845437.tar.xz
ipxe-1af346b5315987cbc89a789dd5246ccb8c845437.zip
Minor debug message improvement.
-rw-r--r--src/net/netdevice.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/netdevice.c b/src/net/netdevice.c
index 460de89cf..59a50205b 100644
--- a/src/net/netdevice.c
+++ b/src/net/netdevice.c
@@ -476,8 +476,9 @@ static void net_step ( struct process *process __unused ) {
* NIC faster than they arrive.
*/
if ( ( iobuf = netdev_rx_dequeue ( netdev ) ) ) {
- DBGC ( netdev, "NETDEV %p processing %p\n",
- netdev, iobuf );
+ DBGC ( netdev, "NETDEV %p processing %p (%p+%zx)\n",
+ netdev, iobuf, iobuf->data,
+ iob_len ( iobuf ) );
netdev->ll_protocol->rx ( iobuf, netdev );
}
}