On Fri, 2014-12-19 at 10:12 +0000, Pasi Sjöholm wrote:
> 3) Connect and query service from connman and you will see 2001::1 and
> 2001::2 plus slaac&dhcpv6 provided nameservers 2001::3 and 2001::4.
> 
> With the patch applied, the nameservers at point 3 will be only the
> slaac&dhcpv6 provided 2001::3 and 2001::4.

So what is the problem then of having nameservers 1, 2, 3 and 4 in use
at the same time? Is it that:
- 1 and 2 don't respond when connecting via DHCPv6/autoconfiguration?
- the specification says 1 and 2 must not be used for whatever reason
  when 3 and 4 are provided by DHCPv6/autoconfiguration? And do we even
  care about that if 1 and 2 work anyway?

If DHCPv6/autoconfiguration does not give any nameservers, the one
pushed from oFono are suddenly really good to have...

>It is not ofono but connman using the outdated information.

The nameserver information is not "outdated" if it comes from the oFono
plugin and the proper D-Bus message. If nameservers 1 and 2 are not
supposed to be used with DHCPv6/autoconfiguration, then oFono should not
be sending this information in the first place. It is not the
responsibility of the application (== ConnMan) to interpret which parts
of the message to use; all information provided by oFono will be
exploited to the full extent possible.


Cheers,

        Patrik

_______________________________________________
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman

Reply via email to