[PATCH] Fix tun device usage on FreeBSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux