getifaddrs & ipv6 scope
Rainer Bredehorn
Bredehorn at gmx.de
Fri Apr 13 06:41:44 UTC 2012
Hi!
> I have noticed that getifaddrs() does not have sin6_scope_id set to
> the interface id for link local addresses on AF_INET6 types. Running
> the following program gives different results on Linux
ifconfig shows the scopeid according to the interface:
inet6 fe80::208:9bff:fe13:784e%fxp1 prefixlen 64 scopeid 0x2
Are you talking about the scope value of an multicast address or
the scopeid for link local addresses?
Best regards,
Rainer.
More information about the freebsd-net
mailing list