]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Un-break compilation on *BSD
authorGert Doering <gert@greenie.muc.de>
Sat, 28 Nov 2015 19:58:37 +0000 (20:58 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 29 Nov 2015 11:34:52 +0000 (12:34 +0100)
commit4a82a9ac0bef6db58858a42b4dc500ae9e09682d
treedfe980166056ac74501b7e1a20650fd587a1921c
parent2191c4716537b3d3e81b0e746f666dd365b65abd
Un-break compilation on *BSD

Commit 2191c47165 introduced code to handle IP address query on
multihoming hosts for IP_PKTINFO-supporting OSes, but all the BSDs
need the "#elsif IP_RECVDSTADDR" variant... add code equivalent
to what we have in socket.c/print_link_socket_actual_ex()

Tested on FreeBSD 9.3/sparc64

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <1448740717-60914-1-git-send-email-gert@greenie.muc.de>
URL: http://article.gmane.org/gmane.network.openvpn.devel/10648
src/openvpn/init.c