diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-06-17 14:46:22 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-06-17 14:46:22 +0200 |
commit | 33152db7441fcd8fcc39bf129b5d3ebef97726ec (patch) | |
tree | 017e192866689a117ec5628533179eec66cd18b9 /print-mpls.c | |
parent | f4ebd6cda863de6de39e3fdf4b065df06c99650d (diff) | |
download | tcpdump-33152db7441fcd8fcc39bf129b5d3ebef97726ec.tar.gz |
Use nd_print_protocol_caps() to print the protocol name
Diffstat (limited to 'print-mpls.c')
-rw-r--r-- | print-mpls.c | 2 |
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)) |