[erlang-questions] how to get the factual ip address?

Alex Alvarez <>
Thu Oct 30 08:33:59 CET 2008


>Actually, I realized they're rather less useful than I was hoping.
>getif/0 only returns the primary IP address on each interface, it
>excludes aliases (at least on the systems I tested with).

Well, I said useful, not perfect!  ;)  I suppose all the current
functionality was originally added for Ericsson equipment's use only, which
might not require the use of additional IPs per interface.  Having said
that, the ability to show all the given IPs for each active interface would
be must welcomed!

Cheers, Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081030/c3bc58a8/attachment.html>


More information about the erlang-questions mailing list