scroot / gopacket

Automatically exported from code.google.com/p/gopacket
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Slice Endpoint.Raw to length #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently Raw() returns an IPv4 address right padded, while the likes of net.IP 
expect padding on the left.

This way Raw returns the same sized slice it was passed initially.

Original issue reported on code.google.com by ba...@google.com on 3 Dec 2014 at 2:21

Attachments:

GoogleCodeExporter commented 9 years ago
Any idea when we can get this in? 

Original comment by fio...@gmail.com on 8 Dec 2014 at 3:37

GoogleCodeExporter commented 9 years ago
Patch pushed to master, thanks for the report.

If you'd like, let me know what name/address you'd like, and I can put you down 
as a "contributor" in the AUTHORS file.

Original comment by gconnell@google.com on 8 Dec 2014 at 4:49