diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-08-31 13:10:53 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-08-31 13:10:53 -0700 |
commit | 832ea80a27c229b6a916b894fb67fb933a3ee90e (patch) | |
tree | 5d70f48a12c649e06d2c8e165c32526f5f2cce62 | |
parent | 6b16b6051eeaed82cfe2b69be03d6ba1f4cdc156 (diff) | |
download | connman-832ea80a27c229b6a916b894fb67fb933a3ee90e.tar.gz connman-832ea80a27c229b6a916b894fb67fb933a3ee90e.tar.bz2 connman-832ea80a27c229b6a916b894fb67fb933a3ee90e.zip |
Ignore loopback devices from IP configuration
-rw-r--r-- | src/ipconfig.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ipconfig.c b/src/ipconfig.c index 2f5d5211..edbdb3e1 100644 --- 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; |