[PATCH] Fix tun device usage on FreeBSD
Nikos Mavrogiannopoulos
n.mavrogiannopoulos at gmail.com
Mon Jun 2 04:53:34 PDT 2014
On Mon, Jun 2, 2014 at 1:44 PM, Brian Chu <cynix at cynix.org> wrote:
> The attached patch appears to make the server side work. IPv6 peer
> addresses are being set correctly on tun0, but my iPhone client can't
> seem to receive the assigned IPv6 address. Not sure what the problem
> is.
Thanks.
Isn't it dangerous to have:
while (ioctl(fd, SIOCDIFADDR_IN6, &ifr6) == 0); ?
I guess there can be cases with a valid reason for that to fail, and
ocserv will enter an infinite loop there.
regards,
Nikos
More information about the openconnect-devel
mailing list