X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/b83e04bd09ac42db9e362a627568a8efbe099c22..refs/pull/435/head:/util.c diff --git a/util.c b/util.c index 6a827dce..5569021c 100644 --- a/util.c +++ b/util.c @@ -633,6 +633,7 @@ print_txt_line(netdissect_options *ndo, const char *protoname, * in the buffer; treat this as if it were truncated. */ trunc: + linelen = idx - startidx; ND_PRINT((ndo, "%s%.*s[!%s]", prefix, (int)linelen, pptr + startidx, protoname)); return (0);