socket-default: Use round-robin selection of sockets to read from
authorMartin Willi <martin@revosec.ch>
Fri, 21 Nov 2014 10:43:20 +0000 (11:43 +0100)
committerMartin Willi <martin@revosec.ch>
Fri, 21 Nov 2014 11:02:07 +0000 (12:02 +0100)
commited247660e81557261cd954e8b3ff19e410a347be
tree38cd98721ea65eee43f397ba95a760f69c25c7dd
parentce13ba62cc70fd6861ffc5e18f822cc3fb127841
socket-default: Use round-robin selection of sockets to read from

If multiple sockets are ready, we previously preferred the IPv4 non-NAT socket
over others. To handle all with equal priority, use a round-robin selection.
src/libcharon/plugins/socket_default/socket_default_socket.c