BugFix: add check for data link type. Previously only worked with pcap file captured in Ethernet.