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

QHostAddress::isGlobal returning true for local network addresses

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.4.2
    • Network
    • None

    Description

      QHostAddress::isGlobal returns true for local network addresses, such as QHostAddress("192.168.0.1").isGlobal() which returns true.

       

      Although I understand that this behavior is implemented according to the description in RFC 4193 section 1, I find it not intuitive.

      Generally, "global" means "not local", and it would be better if the function returned false for IPv6 unique local unicast addresses and IPv4 private addresses.

      Attachments

        Issue Links

          Activity

            People

              manordheim Mårten Nordheim
              ayamamoto Atsushi Yamamoto
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: