* [ECOS] getifaddrs() doesn't set port or scope_id in INET6 addresses
@ 2012-03-27 15:30 Grant Edwards
0 siblings, 0 replies; only message in thread
From: Grant Edwards @ 2012-03-27 15:30 UTC (permalink / raw)
To: ecos-discuss
When I get a list of interface addresses using getifaddrs(), the
sockaddr_in6 structures for ipv6 addresses don't have the correct
scope_id values (they all show 0 (global), even when they're link
scope addresses.
I've looked in the source for getifaddrs(), and it just plain never
sets the scope_id.
Where is one supposed to get scope info for an address?
--
Grant Edwards grant.b.edwards Yow! I'd like some JUNK
at FOOD ... and then I want to
gmail.com be ALONE --
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-27 15:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-27 15:30 [ECOS] getifaddrs() doesn't set port or scope_id in INET6 addresses Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).