diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-04-30 12:52:10 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-04-30 13:35:06 +0200 |
commit | 3e3e6d2ef4c1b120077378fe32dc0a88ee81f38e (patch) | |
tree | 62adc130a22be5f590b0c0174a02775b828b7be1 /print-rpki-rtr.c | |
parent | f7530ee4d5f7d05ee0185c1d166103a3f698a797 (diff) | |
download | tcpdump-3e3e6d2ef4c1b120077378fe32dc0a88ee81f38e.tar.gz |
Rename the fn_printX() functions to nd_printX()
The functions are: nd_print, nd_printztn, nd_printn and nd_printzp.
Trying to make it clearer that they currently have to be used only on part
of the packet buffer.
Update some comments.
Diffstat (limited to 'print-rpki-rtr.c')
-rw-r--r-- | print-rpki-rtr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-rpki-rtr.c b/print-rpki-rtr.c index fa8ed9da..fcc2f1c2 100644 --- a/print-rpki-rtr.c +++ b/print-rpki-rtr.c @@ -353,9 +353,9 @@ rpki_rtr_pdu_print (netdissect_options *ndo, const u_char *tptr, const u_int len if (text_length) { if (pdu_len < tlen + text_length) goto invalid; - /* fn_printn() makes the bounds check */ + /* nd_printn() makes the bounds check */ ND_PRINT("%sError text: ", indent_string(indent+2)); - if (fn_printn(ndo, tptr + tlen, text_length, ndo->ndo_snapend)) + if (nd_printn(ndo, tptr + tlen, text_length, ndo->ndo_snapend)) goto trunc; } } |