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-dhcp6.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-dhcp6.c')
-rw-r--r-- | print-dhcp6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-dhcp6.c b/print-dhcp6.c index a45fe5c0..ca9d053e 100644 --- a/print-dhcp6.c +++ b/print-dhcp6.c @@ -744,7 +744,7 @@ dhcp6opt_print(netdissect_options *ndo, label_len = EXTRACT_U_1(tp); tp++; if (label_len < remain_len - 1) { - (void)fn_printn(ndo, tp, label_len, NULL); + (void)nd_printn(ndo, tp, label_len, NULL); tp += label_len; remain_len -= (label_len + 1); if(EXTRACT_U_1(tp)) ND_PRINT("."); @@ -764,7 +764,7 @@ dhcp6opt_print(netdissect_options *ndo, } tp = (const u_char *)(dh6o + 1); ND_PRINT("="); - (void)fn_printn(ndo, tp, (u_int)optlen, NULL); + (void)nd_printn(ndo, tp, (u_int)optlen, NULL); ND_PRINT(")"); break; |