Hi,

In FIXED IP configuration the service->ipconfig_ipv4->system ip address
structure is not set. Since it is not set, the IPv4 property for those
services end up as IPv4 = { Method=fixed }. The full set of IPv4
parameters exist in IPv4.Configuration (likewise for IPv6).

For DHCP the full set of address parameters is listed in the IPv4
property, and IPv4.Configuration lists only { Method=dhcp }. The
location for the currently configured IPv4 address is thus different for
FIXED configurations wrt DHCP and is confusing as noted in bug #25084.
My question is this: would it be less confusing if the IPv4 property
always would contain the current assigned IPv4 address regardless of the
configuration method? In this case some code would be added for checking
for a FIXED ip configuration in __connman_ipconfig_append_ipv4() to
display the adresses. Does this make sense?

I think the same is true for MANUAL configurations as well.

Cheers,

        Patrik


_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to