>> IPv6 configuration method is either CONNMAN_IPCONFIG_METHOD_FIXED
>> (ipv6-pdp) or CONNMAN_IPCONFIG_METHOD_AUTO (SLAAC/DHCPv6,
>> dual/ipv4v6-pdp).

>RFC 6459, Section 5.2, "IPv6 Address Configuration" says:
>So only CONNMAN_IPCONFIG_METHOD_AUTO is allowed for IPv6 configuration,
>right?

It would seem so.. though ofono is pushing those as "fixed" when ipv6 protocol 
is set.

However if I set ipv6-protocol in ofono and make connman to use AUTO-method 
instead fixed it works just fine (same addresses is used with AUTO as it is 
getting fixed by ofono):

--cut--
rmnet0    Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet6 addr: 2001:14bb:10:2:f8cf:eeea:3c47:d4cf/64 Scope:Global

 IPv6.Settings = { Gateway = 2001:14bb:0010:0002:409f:06fe:04e8:0a7e, Address = 
2001:14bb:0010:0002:f8cf:eeea:3c47:d4cf, Interface = rmnet0,...
--cut--

So I guess almost everything but "Interface"-handling can be dropped from the 
extract_ipv6_settings() to support only CONNMAN_IPCONFIG_METHOD_AUTO. Will 
update the patch accordingly.

Br,
Pasi

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

Reply via email to