Use the ndo argument to lane_hdr_print().

This commit is contained in:
Guy Harris 2010-11-06 19:53:17 -07:00
parent af1f106abf
commit c4aa877590

View File

@ -63,7 +63,7 @@ static const struct tok lecop2str[] = {
static void
lane_hdr_print(netdissect_options *ndo, const u_char *bp)
{
(void)printf("lecid:%x ", EXTRACT_16BITS(bp));
(void)ND_PRINT((ndo, "lecid:%x ", EXTRACT_16BITS(bp)));
}
/*