I defined a Virtual IP on an interface with ifconfig. When I try to retrieve the list of IPs for a given interface, logical IP address is not returned by alladdresses() function. I only receive the real IPs. Is there anyway to retrieve the virtual IPs? Is this a bug?

command used in Solaris:
ifconfig eth0:1 plumb 10.x.x.x up