diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-22 21:58:44 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2017-11-22 21:58:44 +0100 |
commit | 3c8f3e13b03380742c24070f8a7b56fe12c6b8ee (patch) | |
tree | a351bb5aa207949c220e71b8f26629703e0a0298 /print-rpki-rtr.c | |
parent | e534e38f78ca28e849fd91eba2a962347b049faf (diff) | |
download | tcpdump-3c8f3e13b03380742c24070f8a7b56fe12c6b8ee.tar.gz |
Rename ND_TCHECK_/ND_TTEST_ macros
Now all the macros have a name meaning a count in bytes.
e.g.:
ND_TCHECK_32BITS -> ND_TCHECK_4
ND_TTEST_32BITS -> ND_TTEST_4
Diffstat (limited to 'print-rpki-rtr.c')
-rw-r--r-- | print-rpki-rtr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-rpki-rtr.c b/print-rpki-rtr.c index 67ba86b0..69c69963 100644 --- a/print-rpki-rtr.c +++ b/print-rpki-rtr.c @@ -182,7 +182,7 @@ rpki_rtr_pdu_print (netdissect_options *ndo, const u_char *tptr, const u_int len const u_char *msg; /* Protocol Version */ - ND_TCHECK_8BITS(tptr); + ND_TCHECK_1(tptr); if (*tptr != 0) { /* Skip the rest of the input buffer because even if this is * a well-formed PDU of a future RPKI-Router protocol version |