libepc r247 - in trunk: . tests
- From: hasselmm svn gnome org
 
- To: svn-commits-list gnome org
 
- Subject: libepc r247 - in trunk: . tests
 
- Date: Sun, 19 Oct 2008 20:11:20 +0000 (UTC)
 
Author: hasselmm
Date: Sun Oct 19 20:11:20 2008
New Revision: 247
URL: http://svn.gnome.org/viewvc/libepc?rev=247&view=rev
Log:
Don't expect Avahi to announce services on interfaces named "*:avahi".
* tests/framework.c (epc_test_list_ifaces()):
  Ignore interfaces with ":avahi" suffix.
Modified:
   trunk/ChangeLog
   trunk/tests/framework.c
Modified: trunk/tests/framework.c
==============================================================================
--- trunk/tests/framework.c	(original)
+++ trunk/tests/framework.c	Sun Oct 19 20:11:20 2008
@@ -180,7 +180,8 @@
           goto out;
         }
 
-      if (req->ifr_flags & (IFF_LOOPBACK | IFF_POINTOPOINT))
+      if (req->ifr_flags & (IFF_LOOPBACK | IFF_POINTOPOINT) ||
+          g_str_has_suffix (ifaces[j].name, ":avahi"))
         {
           g_free (ifaces[j].name);
           ifaces[j].name = NULL;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]