On 2/25/21 12:02 AM, Arve Barsnes wrote:
I don't think that was the question Peter sought to answer, but rather
that 'hostname -i' returns the loopback address either way.

But 'hostname -i' /doesn't/ return the 127.0.0.1 or ::1 if the hostname isn't on lines with 127.0.0.1 or ::1.

Might still defy logic depending on the way you look at it, but that's
a different question.

Hence why I'm seeking the logic behind what was done.



--
Grant. . . .
unix || die

Reply via email to