aboutsip / pkts

Pure java based pcap library capable of reading and writing to/from pcaps.
Other
196 stars 91 forks source link

Recognize ARP packets as valid Ethernet packets #63

Closed epall closed 7 years ago

epall commented 7 years ago

I really should support even more EtherTypes here, but we need to implement framer dispatch for IPv4 vs. IPv6 first, anyway.

I'm parsing some pcaps from my own LAN, and if I don't recognize ARP, then parsing the captures errors out.

epall commented 7 years ago

Whoops! Got bit by being a bit too cavalier with git add -i. Thanks for catching it!