summaryrefslogtreecommitdiff
path: root/print-esp.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-05-06 10:33:07 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-05-06 11:26:45 +0200
commit00ecef01d7dd1f53c58ddeb0f906f3ec602283f0 (patch)
treea8a3f3a184b04e8fab889d5730e28e4b6a313003 /print-esp.c
parent14cab26a1c6af5686f9f4b3605c5540816ab8a41 (diff)
downloadtcpdump-00ecef01d7dd1f53c58ddeb0f906f3ec602283f0.tar.gz
Add more nd_print_trunc() calls
Update the output of some tests accordingly.
Diffstat (limited to 'print-esp.c')
-rw-r--r--print-esp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-esp.c b/print-esp.c
index 04b1e25f..511ee8a3 100644
--- a/print-esp.c
+++ b/print-esp.c
@@ -687,7 +687,7 @@ esp_print(netdissect_options *ndo,
ep = ndo->ndo_snapend;
if ((const u_char *)(esp + 1) >= ep) {
- ND_PRINT("[|ESP]");
+ nd_print_trunc(ndo);
goto fail;
}
ND_PRINT("ESP(spi=0x%08x", EXTRACT_BE_U_4(esp->esp_spi));