sleinen / samplicator

Send copies of (UDP) datagrams to multiple receivers, with optional sampling and spoofing
GNU General Public License v2.0
389 stars 132 forks source link

Fix source address spoofing to work on FreeBSD systems (was buggy) #51

Closed xbeaudouin closed 5 years ago

xbeaudouin commented 7 years ago

This trivial patch fix the spoofing function under FreeBSD (-S). On FreeBSD 11.1 this trigger invalid argument. Regards

juikim commented 6 years ago

FYI, I committed #57 to FreeBSD ports tree.

https://svnweb.freebsd.org/changeset/ports/470719

sleinen commented 5 years ago

Thanks for the report and the fix, and sorry again for taking so long to merge. I'll try to do better!