]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Use the ndo argument to lane_hdr_print().
authorGuy Harris <[email protected]>
Sun, 7 Nov 2010 02:53:17 +0000 (19:53 -0700)
committerGuy Harris <[email protected]>
Sun, 7 Nov 2010 02:53:17 +0000 (19:53 -0700)
print-lane.c

index 6ebe09029582c2ef07d30810378b09deb875cae9..aa7931154911f5106c984199583949c25ba572a7 100644 (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)));
 }
 
 /*