summaryrefslogtreecommitdiff
path: root/print-udld.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-04-30 12:52:10 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-04-30 13:35:06 +0200
commit3e3e6d2ef4c1b120077378fe32dc0a88ee81f38e (patch)
tree62adc130a22be5f590b0c0174a02775b828b7be1 /print-udld.c
parentf7530ee4d5f7d05ee0185c1d166103a3f698a797 (diff)
downloadtcpdump-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-udld.c')
-rw-r--r--print-udld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-udld.c b/print-udld.c
index 3b77dd51..a9ada9e4 100644
--- a/print-udld.c
+++ b/print-udld.c
@@ -155,12 +155,12 @@ udld_print (netdissect_options *ndo, const u_char *pptr, u_int length)
case UDLD_PORT_ID_TLV:
case UDLD_DEVICE_NAME_TLV:
ND_PRINT(", ");
- fn_printzp(ndo, tptr, len, NULL);
+ nd_printzp(ndo, tptr, len, NULL);
break;
case UDLD_ECHO_TLV:
ND_PRINT(", ");
- (void)fn_printn(ndo, tptr, len, NULL);
+ (void)nd_printn(ndo, tptr, len, NULL);
break;
case UDLD_MESSAGE_INTERVAL_TLV: