Skip to content

Commit

Permalink
[lacp] Fix dumping of raw LACP packets
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Nov 18, 2010
1 parent 24fc6aa commit 3d9096f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/net/eth_slow.c
Expand Up @@ -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 ) );
}

/**
Expand Down Expand Up @@ -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 ) );
}

/**
Expand Down

0 comments on commit 3d9096f

Please sign in to comment.