shadowbq/pcaprub — pull request #21 by yu74n (2013-09-05 20:03:33+00:00)
Title: bugfix: reference to released variables

I encountered an odd behavior that the len member in pcap_pkthdr is 0 when I read a pcap file.
I noticed in debugging with gdb, then caplen and len members in pcap_pkthdr are released or reused by other variable.