Hi

The SatCluster class has an attribute vip6 restricted to len 45 which is
supposed to get filled with an ipv6 address (therefore the length, 39 or
45 for ipv4 address mapped to ipv6).

However, the Java API used to get the value (getHostAddress) in my
system returns the address with a zone identifier, in this case the
interface:

xxxx:xxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx%enp0s25

This does not fit.

While we could extend the column to be 45 + 1 (%) + linux/if.h IFNAMSIZE
(16), I wonder if we really need the zone, in that case I could just
remove it in the setter setVip6. Anyone familiar with this attribute?

-- 
Duncan Mac-Vicar P. - http://www.suse.com/

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Jennifer Guild,
Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany




_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to