diff options
Diffstat (limited to 'print-tcp.c')
-rw-r--r-- | print-tcp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/print-tcp.c b/print-tcp.c index 79dc6c61..0c712f1f 100644 --- a/print-tcp.c +++ b/print-tcp.c @@ -446,13 +446,11 @@ tcp_print(netdissect_options *ndo, while (hlen > 0) { if (ch != '\0') ND_PRINT("%c", ch); - ND_TCHECK_1(cp); opt = GET_U_1(cp); cp++; if (ZEROLENOPT(opt)) len = 1; else { - ND_TCHECK_1(cp); len = GET_U_1(cp); cp++; /* total including type, len */ if (len < 2 || len > hlen) |