index, type, type2str(type));
update:
+ if (ipdevice->config != NULL) {
+ g_free(ipdevice->config->eth);
+ ipdevice->config->eth = g_strdup(address);
+ ipdevice->config->mtu = mtu;
+ }
+
if (flags == ipdevice->flags)
return;
if (index != ipconfig->index)
continue;
- g_free(ipconfig->eth);
- ipconfig->eth = g_strdup(address);
- ipconfig->mtu = mtu;
-
if (up == TRUE && ipconfig->ops->up)
ipconfig->ops->up(ipconfig);
if (lower_up == TRUE && ipconfig->ops->lower_up)