diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-09 12:32:00 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-12-09 14:05:25 +0100 |
commit | 07ac438e08e5ffed3539e10d78f1cfc7d221d591 (patch) | |
tree | 8e07185c1f646ef08c85bbb7d9a075b32e65272f /print-fr.c | |
parent | 1cfd6cd2ac8acecbcf16e083a6cd272a19ec994e (diff) | |
download | tcpdump-07ac438e08e5ffed3539e10d78f1cfc7d221d591.tar.gz |
Use more the EXTRACT_U_1() macro (52/n)
Assignment, p[n]
Diffstat (limited to 'print-fr.c')
-rw-r--r-- | print-fr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -472,8 +472,8 @@ mfr_print(netdissect_options *ndo, while (tlen>sizeof(struct ie_tlv_header_t)) { ND_TCHECK2(*tptr, sizeof(struct ie_tlv_header_t)); - ie_type=tptr[0]; - ie_len=tptr[1]; + ie_type=EXTRACT_U_1(tptr); + ie_len=EXTRACT_U_1(tptr + 1); ND_PRINT((ndo, "\n\tIE %s (%u), length %u: ", tok2str(mfr_ctrl_ie_values,"Unknown",ie_type), |