>With 'invalid configuration' you mean that the 'Address' property was
>not found?
Yes, it is invalid in case static-method and with dhcp there will be no address.
>> - if (context->ipv4_method != CONNMAN_IPCONFIG_METHOD_FIXED)
>> - goto out;
>> + if (address) {
>How about writing this as 'if (!address)' goto out; instead? Or can
>partial IPv4/IPv6 settings be extracted so that it is ok to only update
>for example nameservers? Currently this part of the code frees the
>current context address and sets it to NULL at the top of this file.
We still need to clean up the old nameservers in case we go from static to dhcp,
please check v3-patchset: "[PATCH 5/6] ofono: Old nameservers need to be
cleared".
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman