[Development] Qt5 Bearer: broken PPP support
Thiago Macieira
thiago.macieira at intel.com
Tue Sep 20 23:20:41 CEST 2016
On terça-feira, 20 de setembro de 2016 22:48:42 PDT Alexander Smirnov wrote:
> After debugging I figured out, that the problem is in commit:
>
> 043f5d3eb52587831f643bc52c95079c36d984c7
>
> This commit allows to add to list:
>
> QList<QNetworkInterfacePrivate *> interfaces;
>
> interfaces with no address field (ifa_addr == NULL).
>
> Then, I've checked the output from 'getifaddrs()' syscall on my board,
> and it returns 2! instances of ppp0:
>
> - one with AF_INET family
> - one with ifa_addr == NULL
[cut]
> So, is it a bug? :-)
Probably. Can you give me a full dump of what getifaddrs gave you along with
ip -d link show dev ppp0
ip -d addr show dev ppp0
I'll fix it.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list