projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9f43b82
)
Don't filter out interfaces within IP configuration
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 28 May 2010 08:29:38 +0000
(10:29 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 28 May 2010 08:29:38 +0000
(10:29 +0200)
src/ipconfig.c
patch
|
blob
|
history
diff --git
a/src/ipconfig.c
b/src/ipconfig.c
index
5af7c9c
..
ac26203
100644
(file)
--- 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;
GString *str;
gboolean up = FALSE, down = FALSE;
gboolean lower_up = FALSE, lower_down = FALSE;
- char *ifname;
DBG("index %d", index);
DBG("index %d", index);
@@
-392,22
+391,12
@@
void __connman_ipconfig_newlink(int index, unsigned short type,
if (ipdevice != NULL)
goto update;
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);
ipdevice = g_try_new0(struct connman_ipdevice, 1);
- if (ipdevice == NULL) {
- g_free(ifname);
+ if (ipdevice == NULL)
return;
return;
- }
ipdevice->index = index;
ipdevice->index = index;
- ipdevice->ifname =
ifname
;
+ ipdevice->ifname =
connman_inet_ifname(index)
;
ipdevice->type = type;
ipdevice->address = g_strdup(address);
ipdevice->type = type;
ipdevice->address = g_strdup(address);