summaryrefslogtreecommitdiff
path: root/print-rpki-rtr.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2017-11-22 21:58:44 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2017-11-22 21:58:44 +0100
commit3c8f3e13b03380742c24070f8a7b56fe12c6b8ee (patch)
treea351bb5aa207949c220e71b8f26629703e0a0298 /print-rpki-rtr.c
parente534e38f78ca28e849fd91eba2a962347b049faf (diff)
downloadtcpdump-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.c2
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