*portability* On Wed, 30 Mar 2022 at 10:56, Pedro Andres Aranda Gutierrez < paaguti@gmail.com> wrote: > Lars> I am aware of this :-) > :-)) The teacher in me speaking ;-) > > How reliable is network-lookup-address-info in a partability scenario? > (Just curious...) > > /PA > > On Wed, 30 Mar 2022 at 09:29, Robert Pluim wrote: > >> >>>>> On Wed, 30 Mar 2022 07:26:50 +0200, Pedro Andres Aranda Gutierrez < >> paaguti@gmail.com> said: >> >> Robert> but ":1" is not a valid IPv4 nor IPv6 address. >> Pedro> However "::1" is valid, as would be "FC01::33", The :: stands >> for all >> Pedro> zeros. >> Pedro> This for IPv6 _addresses_. >> >> I am aware of this :-) >> >> Pedro> IPv6 _prefixes_ conform to ([0-9-a-fA-F]{1,4}:)+:/[0-9]+ >> >> And this. Lars is checking for IP addresses here, not prefixes, hence >> my suggestion to use `network-lookup-address-info' (which is a thin >> veneer over getaddrinfo(3)). >> >> Robert >> -- >> > > > -- > Fragen sind nicht da um beantwortet zu werden, > Fragen sind da um gestellt zu werden > Georg Kreisler > > Headaches with a Juju log: > unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run > a leader-deposed hook here, but we can't yet > > -- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet