sam-github/libnet — pull request #42 by regit (2013-09-26 14:35:32+00:00)
Title: Factorize socket setup code for socket opening

This patch is factorizing the socket opening code between IPv4 and IPv6.
Socket option are the same for IPv4 and IPv6, so we can factorize the code.
As a side effect this patch brings output device selection to IPv4.