[aravis] gv_interface: allow loopback interface for discovery.



commit 9b86ac1b3aad3f74849db3405198b2c9bc242c9a
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Fri May 28 19:33:07 2010 +0200

    gv_interface: allow loopback interface for discovery.

 src/arvgvinterface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/arvgvinterface.c b/src/arvgvinterface.c
index ae35827..8a90377 100644
--- a/src/arvgvinterface.c
+++ b/src/arvgvinterface.c
@@ -115,7 +115,7 @@ arv_gv_interface_build_discover_infos_list (ArvGvInterface *gv_interface)
 	n_interfaces = getifaddrs (&ifap);
 	for (;ifap != NULL; ifap = ifap->ifa_next) {
 		if ((ifap->ifa_flags & IFF_UP) != 0 &&
-		    (ifap->ifa_flags & (IFF_LOOPBACK | IFF_POINTOPOINT)) == 0 &&
+		    (ifap->ifa_flags & IFF_POINTOPOINT) == 0 &&
 		    (ifap->ifa_addr->sa_family == AF_INET)) {
 			ArvGvInterfaceDiscoverInfos *infos = g_new (ArvGvInterfaceDiscoverInfos, 1);
 			GSocketAddress *socket_address;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]