aboutsip / pkts

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

Fixes bugs in IPV4 and SLL packet framing #60

Closed sbarta30 closed 7 years ago

sbarta30 commented 7 years ago

Fixes a bug in the IPV4 packet framer where it would wrongly advance the read pointer in the header buffer while parsing the frame, which would lead to errors if you would ever try to write the packet back out.

Fixes a bug in SLL packet framing where it had the packet type constant wrong.

Adds test coverage for these cases.

jonbo372 commented 7 years ago

Thanks Scott!