On Thu, 2009-01-15 at 08:02 +0100, Darren Reed wrote: > Sebastien Roy wrote: > > The scopeid for link-local addresses is defined (by the IETF) as the > > interface index. That's in the existing ifconfig output. > > I was aware of that... I was trying to make the point that it's not obvious > unless you're caching IETF specs like that in your head.
Ah, I see. > What I was digging for with this question is whether or not there would > be a column in ipadm output named "scope" that either replaces or is > present along with "index". Since the interface index has value outside of the context of doubling as the link-local scope-id, I probably wouldn't replace it with the scope id in the output. Aside from that, I don't have a strong opinion about adding it to the output, other than that it would seem redundant to me. Perhaps it could simply be better documented (in various places where the scope-id is used administratively and in APIs) that the link-local scope-id is the interface index. -Seb
