Make GSSDPClient ignore Point to Point interfaces so that GUPnP stops putting stuff...
authoriain <iain@linux.intel.com>
Tue, 24 Nov 2009 21:01:31 +0000 (21:01 +0000)
committerRoss Burton <ross@linux.intel.com>
Wed, 25 Nov 2009 11:57:25 +0000 (11:57 +0000)
libgssdp/gssdp-client.c

index 8966ac9..1a9dd36 100644 (file)
@@ -845,6 +845,8 @@ get_host_ip (char **interface)
                         continue;
                 else if (!(ifa->ifa_flags & IFF_UP))
                         continue;
+               else if ((ifa->ifa_flags & IFF_POINTOPOINT))
+                       continue;
 
                 /* Loopback and IPv6 interfaces go at the bottom on the list */
                 if (ifa->ifa_flags & IFF_LOOPBACK ||