chiark / gitweb /
noip.c (get_local_ipaddrs): Rewrite to use getifaddrs(3).
authorMark Wooding <mdw@distorted.org.uk>
Fri, 25 Apr 2014 08:49:26 +0000 (09:49 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 25 Apr 2014 08:57:49 +0000 (09:57 +0100)
This is a much better function to use because it actually gives us all
of the addresses on each interface rather than just the first.

Also, discard duplicate addresses, because they're more likely now.  We
should have done this already, but unaccountably neglected to.


No differences found