Added class dpkt.pcap.UniversalReader that attempts to read the given file object
first in libpcap format,
if that fails, attempt the pcapng format,
if that also fails, raise an exception.
Disclaimer: I've just slapped something working together quickly. There could be a better name or a more logical home for this, or it can be a function instead of a class.. open to suggestions here
Coverage increased (+0.0005%) to 99.814% when pulling 5d1b32eaa69bb5f9a993a0f73bd9b6b6061ecf9d on fix-#594 into 6a71d6336cd609a406fb2812e1aa9c71864fdb75 on master.
Added class dpkt.pcap.UniversalReader that attempts to read the given file object
Disclaimer: I've just slapped something working together quickly. There could be a better name or a more logical home for this, or it can be a function instead of a class.. open to suggestions here