Date: Sat, 12 Dec 2009 12:29:23 -0600 From: Peter Steele <psteele@maxiscale.com> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Question regarding getifaddrs Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33D0E191@MBX03.exg5.exghost.com>
next in thread | raw e-mail | index | archive | help
I use this function to retrieve a list of network interfaces on a system. T= his works well enough with one exception--here seems to be multiple entries= for each of the interfaces, and the data in the duplicate entries isn't th= e same. What is the proper way to filter the list of structures returned by= getifaddrs? Is there a better way to get this same information?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7B9397B189EB6E46A5EE7B4C8A4BB7CB33D0E191>