summaryrefslogtreecommitdiff
path: root/src/ipconfig.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-05-28 10:29:38 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-05-28 10:29:38 +0200
commit679bb7a005c773149de0760a10c1935aab0fa24f (patch)
treeb0299534e4a87f9c8ebb9735952c22f4a7edf0a1 /src/ipconfig.c
parent9f43b82d028bd61997dc73cddf6c724039654849 (diff)
downloadconnman-679bb7a005c773149de0760a10c1935aab0fa24f.tar.gz
connman-679bb7a005c773149de0760a10c1935aab0fa24f.tar.bz2
connman-679bb7a005c773149de0760a10c1935aab0fa24f.zip
Don't filter out interfaces within IP configuration
Diffstat (limited to 'src/ipconfig.c')
-rw-r--r--src/ipconfig.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/ipconfig.c b/src/ipconfig.c
index 5af7c9c0..ac26203c 100644
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@ -381,7 +381,6 @@ void __connman_ipconfig_newlink(int index, unsigned short type,
GString *str;
gboolean up = FALSE, down = FALSE;
gboolean lower_up = FALSE, lower_down = FALSE;
- char *ifname;
DBG("index %d", index);
@@ -392,22 +391,12 @@ void __connman_ipconfig_newlink(int index, unsigned short type,
if (ipdevice != NULL)
goto update;
- ifname = connman_inet_ifname(index);
-
- if (__connman_element_device_isfiltered(ifname) == TRUE) {
- connman_info("Ignoring interface %s (filtered)", ifname);
- g_free(ifname);
- return;
- }
-
ipdevice = g_try_new0(struct connman_ipdevice, 1);
- if (ipdevice == NULL) {
- g_free(ifname);
+ if (ipdevice == NULL)
return;
- }
ipdevice->index = index;
- ipdevice->ifname = ifname;
+ ipdevice->ifname = connman_inet_ifname(index);
ipdevice->type = type;
ipdevice->address = g_strdup(address);