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-vtp.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-vtp.c')
-rw-r--r-- | print-vtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print-vtp.c b/print-vtp.c index 5a10b25f..358a294e 100644 --- a/print-vtp.c +++ b/print-vtp.c @@ -150,7 +150,7 @@ vtp_print (netdissect_options *ndo, ND_PRINT(" [invalid MgmtD Len %u]", mgmtd_len); return; } - fn_printzp(ndo, tptr + 4, mgmtd_len, NULL); + nd_printzp(ndo, tptr + 4, mgmtd_len, NULL); ND_PRINT(", %s: %u", tok2str(vtp_header_values, "Unknown", type), EXTRACT_U_1(tptr + 2)); @@ -267,7 +267,7 @@ vtp_print (netdissect_options *ndo, if (len < 4*((name_len + 3)/4)) goto trunc; ND_TCHECK_LEN(tptr, name_len); - fn_printzp(ndo, tptr, name_len, NULL); + nd_printzp(ndo, tptr, name_len, NULL); /* * Vlan names are aligned to 32-bit boundaries. |