]> git.ipfire.org Git - thirdparty/strongswan.git/commit
socket-default: to bind to one dynamic port on OS X, create v4 socket before v6
authorMartin Willi <martin@revosec.ch>
Thu, 11 Apr 2013 18:22:06 +0000 (20:22 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 18 Apr 2013 12:43:02 +0000 (14:43 +0200)
commit86e29b4fcc7aeafb28f0ade8231a7fa279786a39
tree97e4a27a172eea1b3aa0ea37c35ec71c9edadef6
parente2277a4d93cb1eb61065c9e4a2438ab85f8c4148
socket-default: to bind to one dynamic port on OS X, create v4 socket before v6

It seems that the order of binding sockets of different address families to the
same dynamic port must be v6-before-v4 on Linux, but v4-before-v6 on OS X.
src/libcharon/plugins/socket_default/socket_default_socket.c