Subject: get_myaddress() strangeness
To: None <netbsd-help@NetBSD.ORG>
From: Andrea Schwertner Charao <andrea@inf.ufrgs.br>
List: netbsd-help
Date: 07/10/1995 14:29:16
I'm using get_myaddress() on NetBSD-1.0 to get a
machine's IP address, but it always return the address
of the loopback interface. Could it be a network
configuration problem? My /etc/netstart is that from
standard NetBSD distribution, so it's difficult to believe
it's not configured properly.

Does anyone has seen the same result when using this
function? What could be doing wrong?
Is there another portable way to get the IP address
without having to supply machine's name?

Any hints will be very appreciated.
Thanks in advance,

Andrea Schwertner Charao
(andrea@inf.ufrgs.br)

ps. Please, send replies directly to me.