diff options
Diffstat (limited to 'print-lane.c')
-rw-r--r-- | print-lane.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/print-lane.c b/print-lane.c index 54c68c82aa2b..aa7931154911 100644 --- a/print-lane.c +++ b/print-lane.c @@ -61,9 +61,9 @@ static const struct tok lecop2str[] = { }; static void -lane_hdr_print(const u_char *bp) +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))); } /* @@ -106,7 +106,7 @@ lane_print(const u_char *p, u_int length, u_int caplen) * Now print the encapsulated frame, under the assumption * that it's an Ethernet frame. */ - ether_print(p, length, caplen, lane_hdr_print, p - 2); + ether_print(gndo, p, length, caplen, lane_hdr_print, p - 2); } u_int |