This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/524] New: Incorrect address ordering by getaddrinfo


I call getaddrinfo on a host on my network, which has these two addresses:
192.168.0.7
2002:52b6:8514:100::3

The host I'm calling it on has these addresses:
192.168.1.254
2002:52b6:8514:200:76ff:fe3b:a3f4

The problem is that in the returned set of addresses, the IPv4 address is sorted
before the IPv6 address, even though it should be the opposite according to Rule
6, Section 6 in RFC 3484, which specifies that the address of higher precedence
should be sorted first. According to the default precedence table in RFC 3484,
IPv6 addresses have higher precedence than IPv4 addresses.

-- 
           Summary: Incorrect address ordering by getaddrinfo
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: fredrik at dolda2000 dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sources.redhat.com/bugzilla/show_bug.cgi?id=524

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]