X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/302c32f84f849797a54a71a1b062af0c6d3005b1..refs/pull/440/head:/print-timed.c diff --git a/print-timed.c b/print-timed.c index efbdd196..5830bc7b 100644 --- a/print-timed.c +++ b/print-timed.c @@ -34,14 +34,14 @@ */ struct tsp_timeval { - u_int32_t tv_sec; - u_int32_t tv_usec; + uint32_t tv_sec; + uint32_t tv_usec; }; struct tsp { - u_int8_t tsp_type; - u_int8_t tsp_vers; - u_int16_t tsp_seq; + uint8_t tsp_type; + uint8_t tsp_vers; + uint16_t tsp_seq; union { struct tsp_timeval tspu_time; int8_t tspu_hopcnt; @@ -138,7 +138,7 @@ timed_print(netdissect_options *ndo, } ND_TCHECK(tsp->tsp_name); ND_PRINT((ndo, " name ")); - if (fn_print((u_char *)tsp->tsp_name, (u_char *)tsp->tsp_name + sizeof(tsp->tsp_name))) + if (fn_print(ndo, (u_char *)tsp->tsp_name, (u_char *)tsp->tsp_name + sizeof(tsp->tsp_name))) goto trunc; return;