| commit | 541aacf3cb0be8ba98c8ef669cd4b155839f2deb | [log] [tgz] |
|---|---|---|
| author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | Sat Oct 03 10:04:25 2020 +0200 |
| committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | Sat Oct 03 11:36:46 2020 +0200 |
| tree | 62d50a27a402b6f4715c1697ba78104310853674 | |
| parent | 4d25a55c3e2ebf62ff3a9e16569eef4cb9dc29f4 [diff] |
AH: Remove a ND_TCHECK_SIZE() call It was the last ND_TCHECK_*() call. Remove the only trunc label.
diff --git a/print-ah.c b/print-ah.c index b9364dc..a3d0554 100644 --- a/print-ah.c +++ b/print-ah.c
@@ -46,7 +46,6 @@ ndo->ndo_protocol = "ah"; ah = (const struct ah *)bp; - ND_TCHECK_SIZE(ah); nd_print_protocol_caps(ndo); /* * RFC4302 @@ -73,7 +72,4 @@ ND_PRINT("): "); return ah_hdr_len; -trunc: - nd_print_trunc(ndo); - return -1; }