]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix incorrect length check.
authorGuy Harris <[email protected]>
Tue, 20 Sep 2016 08:49:00 +0000 (01:49 -0700)
committerGuy Harris <[email protected]>
Tue, 20 Sep 2016 08:49:00 +0000 (01:49 -0700)
print-fr.c

index 68757b768591c8a149e3978dc7d6fc787decc261..a1ee84f7bf340f0027ef0e37b7fb4385f058550b 100644 (file)
@@ -812,7 +812,7 @@ q933_print(netdissect_options *ndo,
 
         olen = length; /* preserve the original length for non verbose mode */
 
-       if (length < (u_int)(2 - is_ansi)) {
+       if (length < (u_int)(2 + is_ansi)) {
                ND_PRINT((ndo, "[|q.933]"));
                return;
        }