if (scope == 0 && (g_strcmp0(dst, "0.0.0.0") == 0 ||
g_strcmp0(dst, "::") == 0)) {
- GSList *list;
GList *config_list;
enum connman_ipconfig_type type;
} else
return;
- for (list = ipdevice->address_list; list; list = list->next) {
- struct connman_ipaddress *ipaddress = list->data;
-
- g_free(ipaddress->gateway);
- ipaddress->gateway = g_strdup(gateway);
- }
-
for (config_list = g_list_first(ipconfig_list); config_list;
config_list = g_list_next(config_list)) {
struct connman_ipconfig *ipconfig = config_list->data;
if (scope == 0 && (g_strcmp0(dst, "0.0.0.0") == 0 ||
g_strcmp0(dst, "::") == 0)) {
- GSList *list;
GList *config_list;
enum connman_ipconfig_type type;
} else
return;
- for (list = ipdevice->address_list; list; list = list->next) {
- struct connman_ipaddress *ipaddress = list->data;
-
- g_free(ipaddress->gateway);
- ipaddress->gateway = NULL;
- }
-
for (config_list = g_list_first(ipconfig_list); config_list;
config_list = g_list_next(config_list)) {
struct connman_ipconfig *ipconfig = config_list->data;