X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/eebb3f48e30f2cb31c3faaddce96dafc8faa10ca..a8abce5c5e2dce2ba6dbccd5d3829da104b80f9c:/print-isoclns.c diff --git a/print-isoclns.c b/print-isoclns.c index 241d6087..b9935ebd 100644 --- a/print-isoclns.c +++ b/print-isoclns.c @@ -903,7 +903,7 @@ clnp_print(netdissect_options *ndo, } /* now walk the options */ - while (li_remaining >= 2) { + while (li_remaining != 0) { u_int op, opli; const uint8_t *tptr;