if (g_strcmp0(value, "dhcp") == 0)
net_info->ip_config_type = NET_IP_CONFIG_TYPE_DYNAMIC;
+ else if (g_strcmp0(value, "auto") == 0)
+ net_info->ip_config_type = NET_IP_CONFIG_TYPE_AUTO_IP;
else if (g_strcmp0(value, "manual") == 0)
net_info->ip_config_type = NET_IP_CONFIG_TYPE_STATIC;
else if (g_strcmp0(value, "fixed") == 0)
if (g_strcmp0(value, "dhcp") == 0)
net_info->ip_config_type = NET_IP_CONFIG_TYPE_DYNAMIC;
+ else if (g_strcmp0(value, "auto") == 0)
+ net_info->ip_config_type = NET_IP_CONFIG_TYPE_AUTO_IP;
else if (g_strcmp0(value, "manual") == 0)
net_info->ip_config_type = NET_IP_CONFIG_TYPE_STATIC;
else if (g_strcmp0(value, "fixed") == 0)
net_info->ip_config_type6 = NET_IP_CONFIG_TYPE_STATIC;
else if (g_strcmp0(value, "off") == 0)
net_info->ip_config_type6 = NET_IP_CONFIG_TYPE_OFF;
- else if (g_strcmp0(value, "auto") == 0)
- net_info->ip_config_type6 = NET_IP_CONFIG_TYPE_AUTO_IP;
+ else if (g_strcmp0(value, "auto") == 0 ||
+ g_strcmp0(value, "6to4") == 0)
+ net_info->ip_config_type6 = NET_IP_CONFIG_TYPE_DYNAMIC;
} else if (g_strcmp0(subKey, "Address") == 0) {
value = g_variant_get_string(var, NULL);
net_info->ip_config_type6 = NET_IP_CONFIG_TYPE_STATIC;
else if (g_strcmp0(value, "off") == 0)
net_info->ip_config_type6 = NET_IP_CONFIG_TYPE_OFF;
- else if (g_strcmp0(value, "auto") == 0)
- net_info->ip_config_type6 = NET_IP_CONFIG_TYPE_AUTO_IP;
+ else if (g_strcmp0(value, "auto") == 0 ||
+ g_strcmp0(value, "6to4") == 0)
+ net_info->ip_config_type6 = NET_IP_CONFIG_TYPE_DYNAMIC;
} else if (g_strcmp0(subKey, "Address") == 0) {
value = g_variant_get_string(var, NULL);