summaryrefslogtreecommitdiff
path: root/print-mpls.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-mpls.c
parentf4ebd6cda863de6de39e3fdf4b065df06c99650d (diff)
downloadtcpdump-33152db7441fcd8fcc39bf129b5d3ebef97726ec.tar.gz
Use nd_print_protocol_caps() to print the protocol name
Diffstat (limited to 'print-mpls.c')
-rw-r--r--print-mpls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-mpls.c b/print-mpls.c
index bdc66c64..62b79957 100644
--- a/print-mpls.c
+++ b/print-mpls.c
@@ -66,7 +66,7 @@ mpls_print(netdissect_options *ndo, const u_char *bp, u_int length)
ndo->ndo_protocol = "mpls";
p = bp;
- ND_PRINT("MPLS");
+ nd_print_protocol_caps(ndo);
do {
ND_TCHECK_LEN(p, sizeof(label_entry));
if (length < sizeof(label_entry))