Commit bd4b4781 authored by Jakub Adam's avatar Jakub Adam
Browse files

interfaces: ignore only interfaces we really want to

Once an interface got ignored, ALL interfaces coming after it were
dropped too.
parent 8e6b8446
...@@ -304,6 +304,7 @@ nice_interfaces_get_local_ips (gboolean include_loopback) ...@@ -304,6 +304,7 @@ nice_interfaces_get_local_ips (gboolean include_loopback)
} }
#ifdef IGNORED_IFACE_PREFIX #ifdef IGNORED_IFACE_PREFIX
ignored = FALSE;
for (prefix = ignored_iface_prefix_list; *prefix; prefix++) { for (prefix = ignored_iface_prefix_list; *prefix; prefix++) {
if (g_str_has_prefix (ifa->ifa_name, *prefix)) { if (g_str_has_prefix (ifa->ifa_name, *prefix)) {
nice_debug ("Ignoring interface %s as it matches prefix %s", nice_debug ("Ignoring interface %s as it matches prefix %s",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment