projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b16b60
)
Ignore loopback devices from IP configuration
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 31 Aug 2009 20:10:53 +0000
(13:10 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 31 Aug 2009 20:10:53 +0000
(13:10 -0700)
src/ipconfig.c
patch
|
blob
|
history
diff --git
a/src/ipconfig.c
b/src/ipconfig.c
index
2f5d521
..
edbdb3e
100644
(file)
--- a/
src/ipconfig.c
+++ b/
src/ipconfig.c
@@
-295,6
+295,9
@@
void __connman_ipconfig_newlink(int index, unsigned short type,
DBG("index %d", index);
+ if (type == ARPHRD_LOOPBACK)
+ return;
+
ipdevice = g_hash_table_lookup(ipdevice_hash, GINT_TO_POINTER(index));
if (ipdevice != NULL)
goto update;