Thank you for looking into this. On Tue, Jan 2, 2018 at 12:15 PM Aaron M. Ucko <u...@debian.org> wrote:
> > It so happens that I was having a brief look already :) > > Great, thanks! > > > The hang occurs inside the above while loop. Notice that the value > > loaded into "label" inside the loop never changes and this is the only > > variable the loop condition depends on. Therefore, if the initial loop > > condition is true, the program will loop forever. > > So I see. Perhaps the intent was to update mpls after bumping ip_offset. > Yes, there is clearly something missing. Probably mpls = (struct ndpi_mpls_header *) &packet[ip_offset]; is missing from inside the loop. I will check on this before the end of the week, follow up with upstream, and patch. Thanks, Ludovico