X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/fb2479d733dbe8a991d11909b319341f7db62ab1..00ecef01d7dd1f53c58ddeb0f906f3ec602283f0:/print-sflow.c diff --git a/print-sflow.c b/print-sflow.c index a6cc8eea..78aaafb6 100644 --- a/print-sflow.c +++ b/print-sflow.c @@ -868,6 +868,7 @@ sflow_print(netdissect_options *ndo, uint32_t sflow_sample_type, sflow_sample_len; uint32_t nsamples; + ndo->ndo_protocol = "sflow"; tptr = pptr; tlen = len; sflow_datagram = (const struct sflow_datagram_t *)pptr; @@ -970,12 +971,5 @@ sflow_print(netdissect_options *ndo, return; trunc: - ND_PRINT("[|SFLOW]"); + nd_print_trunc(ndo); } - -/* - * Local Variables: - * c-style: whitesmith - * c-basic-offset: 4 - * End: - */