hi, On Sat, Nov 28, 2015 at 02:41:44PM +0100, Gert Doering wrote: > Your patch has been applied to the master branch. > > commit 2191c4716537b3d3e81b0e746f666dd365b65abd > Author: Heiko Hund > Date: Wed Nov 25 13:57:00 2015 +0100
... and while it works nicely on Linux, it blows off all the BSDs... +init.o init.c init.c: In function 'initialization_sequence_completed': init.c:1296: error: 'struct in_addr' has no member named 'ipi_spec_dst' *** Error code 1 socket.c suggests that there are two variants of this; IP_PKTINFO and IP_RECVDSTADDR, and ipi_spec_dst belongs to IP_PKTINFO... case AF_INET: { struct openvpn_sockaddr sa; CLEAR (sa); sa.addr.in4.sin_family = AF_INET; #ifdef IP_PKTINFO sa.addr.in4.sin_addr = act->pi.in4.ipi_spec_dst; if_indextoname(act->pi.in4.ipi_ifindex, ifname); #elif defined(IP_RECVDSTADDR) sa.addr.in4.sin_addr = act->pi.in4; ifname[0]=0; (don't we all love socket programming?) can you send a followup patch, or shall I tackle this (having the BSDs to test)? How can I see if this actually works? gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de
signature.asc
Description: PGP signature