'Return a list of IP addresses.'

def GetIPAddresses(self):

    results = []
    for address in self.addresses:
        if address.human_readable:
            results.append(address.human_readable)
        elif (address.address_type == NetworkAddress.Family.INET):
            results.append(ipv6_utils.InetNtoP(socket.AF_INET, str(address.packed_bytes)))
        else:
            results.append(ipv6_utils.InetNtoP(socket.AF_INET6, str(address.packed_bytes)))
    return results
