Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-81733

QNetworkSettingsIPv6 does not work at all

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 5.14.1
    • None
    • yocto 2.7.2 with connman 1.36
    • Linux/Yocto

    Description

      With a network card connected to the network QNetworkSettingsIPv6 getters report garbage:

      This

      qDebug() << "ipv6 method: " << m_eth[id]->ipv6()->method();
      qDebug() << "ipv6 address: " << m_eth[id]->ipv6()->address();
      qDebug() << "ipv6 gateway: " << m_eth[id]->ipv6()->gateway();
      qDebug() << "ipv6 prefix length: " << m_eth[id]->ipv6()->prefixLength();
      qDebug() << "ipv6 privacy: " << m_eth[id]->ipv6()->privacy();

      Outputs 

       

      ipv6 method: -1285257979
      ipv6 address: ""
      ipv6 gateway: ""
      ipv6 prefix length: 0
      ipv6 privacy: -1285275707
      

       

      where m_eth[id] is a valid service because I'm able to change ipv4 properties.

      method and privacy numbers change as I connect/disconnect the network cable. address, gateway are always empty and the prefix length always 0.

      The QNetworkSettingsService::ipv6Changed signal is never triggered, after I change the QNetworkSettingsIPv6 properties and I call QNetworkSettingsService::setupIpv6Config.

      QNetworkSettingsService::ipv6Changed is only triggered when I change the ipv6 property from terminal with connmanctl config. The member value are still not reported properly.

      ipv6 addresses are reported for the interfaces with ifconfig

      So in the current form QNetworkSettingsIPv6 is completely broken.

       

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            arpa Ari Parkkila
            damienlefevre Damien LEFEVRE
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes