ipconfig: Allow more than one IP address per device
authorJukka Rissanen <jukka.rissanen@nokia.com>
Thu, 9 Dec 2010 11:11:48 +0000 (13:11 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 14 Dec 2010 14:07:14 +0000 (15:07 +0100)
src/ipconfig.c

index 62323c7..fe99b81 100644 (file)
@@ -649,9 +649,6 @@ void __connman_ipconfig_newaddr(int index, int family, const char *label,
        if ((ipdevice->flags & (IFF_RUNNING | IFF_LOWER_UP)) != (IFF_RUNNING | IFF_LOWER_UP))
                return;
 
-       if (g_slist_length(ipdevice->address_list) > 1)
-               return;
-
        for (list = g_list_first(ipconfig_list); list;
                                                list = g_list_next(list)) {
                struct connman_ipconfig *ipconfig = list->data;