summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Adam <jakub.adam@collabora.com>2019-07-12 12:15:14 +0200
committerJakub Adam <jakub.adam@collabora.com>2019-07-12 12:24:48 +0200
commitbd4b47813844aa0e68e9074b3ac516c383ca8bab (patch)
tree13fe4d161474913889157e874b6e75cf2fe3dd58
parent8e6b8446d080c60bd7f8c8c3309724dc0bdff561 (diff)
downloadlibnice-bd4b47813844aa0e68e9074b3ac516c383ca8bab.tar.gz
interfaces: ignore only interfaces we really want to
Once an interface got ignored, ALL interfaces coming after it were dropped too.
-rw-r--r--agent/interfaces.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/interfaces.c b/agent/interfaces.c
index 3a3b39c..993c660 100644
--- a/agent/interfaces.c
+++ b/agent/interfaces.c
@@ -304,6 +304,7 @@ nice_interfaces_get_local_ips (gboolean include_loopback)
}
#ifdef IGNORED_IFACE_PREFIX
+ ignored = FALSE;
for (prefix = ignored_iface_prefix_list; *prefix; prefix++) {
if (g_str_has_prefix (ifa->ifa_name, *prefix)) {
nice_debug ("Ignoring interface %s as it matches prefix %s",