summaryrefslogtreecommitdiff
path: root/print-tftp.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2019-06-17 14:46:22 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2019-06-17 14:46:22 +0200
commit33152db7441fcd8fcc39bf129b5d3ebef97726ec (patch)
tree017e192866689a117ec5628533179eec66cd18b9 /print-tftp.c
parentf4ebd6cda863de6de39e3fdf4b065df06c99650d (diff)
downloadtcpdump-33152db7441fcd8fcc39bf129b5d3ebef97726ec.tar.gz
Use nd_print_protocol_caps() to print the protocol name
Diffstat (limited to 'print-tftp.c')
-rw-r--r--print-tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-tftp.c b/print-tftp.c
index de9d4ebb..b6f9107e 100644
--- a/print-tftp.c
+++ b/print-tftp.c
@@ -97,7 +97,7 @@ tftp_print(netdissect_options *ndo,
ndo->ndo_protocol = "tftp";
/* Print protocol */
- ND_PRINT("TFTP");
+ nd_print_protocol_caps(ndo);
/* Print length */
ND_PRINT(", length %u", length);