> set_address API in the tun_device.c is throwing buffer overflow error > when assigning ipv6 ip address to the virtual interface. > > Kindly help provide a fix for this issue.
tun_device_t does currently not provide support for IPv6 (the ioctls for IPv6 are quire different, and different for each platform - I did some experiments a year ago in the tun-device-ipv6 branch). To avoid the buffer overflow, you could add a check for the address family in set_address() and return FALSE if it is AF_INET6. Regards, Tobias _______________________________________________ Dev mailing list [email protected] https://lists.strongswan.org/mailman/listinfo/dev
