SUGGESTED FIX
>Proposed Fix(es):
> Add a scope ID field in the Inet6Address objects. Use the NetworkInterface
> class as a scope ID abstraction (a scope ID denotes one or a set of
> interfaces, an interface can belong only to one zone of a given scope,
> so an interface which is a member of the interface set of a zone can
> denote the zone. In fact in the current case there is only one interface
> in the set. Details (as the mapping between the (index of the) interface
> and the scope ID) are implementation dependent and should not be publicly
> visible.
> The % notation can be used (this should be used at least for the toString
> method of Inet[6]Address, ie. Inet6Address getHostAddress()).
> You should contact the IPv6 team of Solaris engineering...
|