aboutsip / pkts

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

Update ByteBuffer.java #73

Closed giacobenin closed 6 years ago

giacobenin commented 6 years ago

readUnsignedInt() was internally calling "getInt" instead of readInt(), and therefore not incrementing the reader index.

jonbo372 commented 6 years ago

Great catch, thanks!

I have another big pull request I need to review (IPv6 support) but once that is in I'll build a release. If you can't wait let me know and I'll build one right away...

giacobenin commented 6 years ago

No rush, I have a workaround in place which works for now. Thanks!