commit | 6af458110a84a33e71675203b59f62cce41c5523 | [log] [tgz] |
---|---|---|
author | Aurimas Liutikas <aurimas@google.com> | Tue May 10 13:01:22 2016 -0700 |
committer | Aurimas Liutikas <aurimas@google.com> | Tue May 10 13:01:22 2016 -0700 |
tree | 12f40788f59d66cf3ffaecdffe51792336ff625e | |
parent | ba29be74f6fa0f15d9df9bca3af99b1e73007de3 [diff] [blame] |
Add a missing space to a printout. Fix some warnings while we're at it. Upstream patch https://github.com/the-tcpdump-group/tcpdump/commit/ca9a02c55e08560876cc318a7fdfcab9ce146eac Change-Id: I450cca83a9e24672807a15ea6f3baa788379e3e5
diff --git a/print-isoclns.c b/print-isoclns.c index 10f0be9..4536f65 100644 --- a/print-isoclns.c +++ b/print-isoclns.c
@@ -3091,9 +3091,9 @@ || length > ndo->ndo_snaplen || checksum_offset > ndo->ndo_snaplen || checksum_offset > length) { - ND_PRINT((ndo, "(unverified)")); + ND_PRINT((ndo, " (unverified)")); } else { - unsigned char *truncated = "trunc"; + const char *truncated = "trunc"; #if 0 printf("\nosi_print_cksum: %p %u %u %u\n", pptr, checksum_offset, length, ndo->ndo_snaplen); ND_TCHECK2(pptr, checksum_offset+length);