bearer mbim: ipv6_config set to dhcp when no ipv6 is available

Andreas Fett andreas.fett at secunet.com
Fri Oct 5 09:39:29 UTC 2018


Hi list,

I noticed, that in ip_configuration_query_ready() ipv6_config will be
allocated and method will be set to MM_BEARER_IP_METHOD_DHCP even when
ipv6configurationavailable is false, just based on the value of
ctx->ip_type.

So essentially every bearer which was *configured* with ip_type v6 or
v4+v6 before connecting will report that v6 may be available via SLACC.
This is even the case when the mbim ip configuration response explicitly
says that no ipv6 is available.

Is this intentional or should I submit a patch that takes the
information from the mbim message into consideration when reporting the
ip6_config?

Andreas


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20181005/1157b4cb/attachment.sig>


More information about the ModemManager-devel mailing list