X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/fb2479d733dbe8a991d11909b319341f7db62ab1..a8abce5c5e2dce2ba6dbccd5d3829da104b80f9c:/print-lmp.c?ds=sidebyside diff --git a/print-lmp.c b/print-lmp.c index bb7d9ae2..6b28544c 100644 --- a/print-lmp.c +++ b/print-lmp.c @@ -31,6 +31,7 @@ #include "addrtoname.h" #include "gmpls.h" + /* * LMP common header * @@ -438,6 +439,7 @@ lmp_print(netdissect_options *ndo, uint32_t i; } bw; + ndo->ndo_protocol = "lmp"; tptr=pptr; lmp_com_header = (const struct lmp_common_header *)pptr; ND_TCHECK_SIZE(lmp_com_header); @@ -1131,11 +1133,5 @@ lmp_print(netdissect_options *ndo, } return; trunc: - ND_PRINT("\n\t\t packet exceeded snapshot"); + nd_print_trunc(ndo); } -/* - * Local Variables: - * c-style: whitesmith - * c-basic-offset: 8 - * End: - */