On 09/09/17 13:10, Andrey V. Elsukov wrote:
On 09.09.2017 10:21, Hans Petter Selasky wrote:
Author: hselasky
Date: Sat Sep  9 07:21:27 2017
New Revision: 323351
URL: https://svnweb.freebsd.org/changeset/base/323351


This doesn't look right. We use s6_addr16[1] to keep scope zone id.
And if_index value should be converted into network byte order. It is
quite usual to have more that 255 interfaces.

And what is more important, you must not use this code for global IPv6
addresses.


Hi,

Thank you for your comments. This function is only used for interface specific addresses. Anyway, I'll make the requested changes!

https://svnweb.freebsd.org/changeset/base/323364

--HPS
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to