gio/tests/inet-address: fix to work on OS X
authorDan Winship <danw@gnome.org>
Sat, 25 May 2013 14:09:43 +0000 (11:09 -0300)
committerDan Winship <danw@gnome.org>
Tue, 4 Jun 2013 12:24:47 +0000 (09:24 -0300)
commit16b26231ca7d807a5bb52228eb4f2cae4427edde
tree4692013854cb71353f6f7791abf95d6d222d2084
parentc828aef014082c06f6a697ef4d0b92054d82b727
gio/tests/inet-address: fix to work on OS X

OS X's getaddrinfo() only supports IPv6 scope IDs that are interface
names, not numbers. So use if_indextoname() to get the name of an
interface and construct an address using that.

https://bugzilla.gnome.org/show_bug.cgi?id=700123
configure.ac
gio/tests/inet-address.c