Josip Rodin wrote:
> % sudo strace freeradius -X
> [...]
> socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 5
> getsockname(5, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, 
> "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
> setsockopt(5, SOL_IPV6, IPV6_PKTINFO, [1], 4) = -1 EINVAL (Invalid argument)

  <sigh>  Linux is irritating.  The setsockopt() call apparently
requires IPV6_RECVPKTINFO, instead of IPV6_PKTINFO.

  The #ifdef's at the top of src/lib/udpfromto.c *should* set that
option correctly.

  Alan DeKok.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to