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.
This commit is contained in:
Andreas Jaeger 2000-05-12 13:41:15 +00:00
parent ca5a4c3c9f
commit 88d9b1b24b
2 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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. */