diff options
author | Andreas Jaeger <aj@suse.de> | 2000-05-12 13:41:15 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-05-12 13:41:15 +0000 |
commit | 88d9b1b24b97f8dfb6f8393cf3a9801cdf29afbf (patch) | |
tree | 5ab01bd1cf0017c96faf8a6b1f88c9dcdd4ebb45 | |
parent | ca5a4c3c9f8ec775c84aaaea06c494915acd389a (diff) | |
download | glibc-88d9b1b24b97f8dfb6f8393cf3a9801cdf29afbf.tar.gz glibc-88d9b1b24b97f8dfb6f8393cf3a9801cdf29afbf.tar.xz glibc-88d9b1b24b97f8dfb6f8393cf3a9801cdf29afbf.zip |
Update.
2000-05-12 Andreas Jaeger <aj@suse.de> * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices. Reported by tmoestl@gmx.net, closes PR libc/1732.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | inet/netinet/in.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index efbb4b8e71..7c7edf32bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-05-12 Andreas Jaeger <aj@suse.de> + + * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices. + Reported by tmoestl@gmx.net, closes PR libc/1732. + 2000-05-11 Jan Hubicka <jh@suse.cz> * misc/sys/cdefs.h: Add support for pure attribute. diff --git a/inet/netinet/in.h b/inet/netinet/in.h index 9f73638e05..4fd64d7829 100644 --- a/inet/netinet/in.h +++ b/inet/netinet/in.h @@ -297,8 +297,8 @@ extern uint16_t htons (uint16_t __hostshort) #define IN6_ARE_ADDR_EQUAL(a,b) \ ((((uint32_t *) (a))[0] == ((uint32_t *) (b))[0]) && \ - (((uint32_t *) (a))[1] == ((uint32_t *) (b))[2]) && \ - (((uint32_t *) (a))[2] == ((uint32_t *) (b))[1]) && \ + (((uint32_t *) (a))[1] == ((uint32_t *) (b))[1]) && \ + (((uint32_t *) (a))[2] == ((uint32_t *) (b))[2]) && \ (((uint32_t *) (a))[3] == ((uint32_t *) (b))[3])) /* Bind socket to a privileged IP port. */ |