hrev52599 adds 1 changeset to branch 'master'
old head: f20ff4faecf703829c8869fe82dbdc1fdde9a305
new head: 247414814e197a9c25ef75142c112e0a389d53e9
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=247414814e19+%5Ef20ff4faecf7
----------------------------------------------------------------------------
247414814e19: Fix IN6_IS_ADDR_V4MAPPED & IN6_IS_ADDR_V4COMPAT false positives
Change-Id: I71af73718667b800c416e47203f8b9924a1096c4
Reviewed-on: https://review.haiku-os.org/733
Reviewed-by: Rene Gollent <rene@xxxxxxxxxxx>
[ Nathan Sashihara <nsashihara@xxxxxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev52599
Commit: 247414814e197a9c25ef75142c112e0a389d53e9
URL: https://git.haiku-os.org/haiku/commit/?id=247414814e19
Author: Nathan Sashihara <nsashihara@xxxxxxxxxxxxxx>
Date: Mon Nov 26 23:25:36 2018 UTC
Committer: Rene Gollent <rene@xxxxxxxxxxx>
Commit-Date: Tue Nov 27 02:43:53 2018 UTC
----------------------------------------------------------------------------
1 file changed, 2 insertions(+), 2 deletions(-)
headers/posix/netinet6/in6.h | 4 ++--
----------------------------------------------------------------------------
diff --git a/headers/posix/netinet6/in6.h b/headers/posix/netinet6/in6.h
index 362b248ed3..8f897c8373 100644
--- a/headers/posix/netinet6/in6.h
+++ b/headers/posix/netinet6/in6.h
@@ -87,7 +87,7 @@ struct in6_pktinfo {
((a)->s6_addr[0] == 0x00 && (a)->s6_addr[1] == 0x00 \
&& (a)->s6_addr[2] == 0x00 && (a)->s6_addr[3] == 0x00 \
&& (a)->s6_addr[4] == 0x00 && (a)->s6_addr[5] == 0x00 \
- && (a)->s6_addr[6] == 0x00 && (a)->s6_addr[9] == 0x00 \
+ && (a)->s6_addr[6] == 0x00 && (a)->s6_addr[7] == 0x00 \
&& (a)->s6_addr[8] == 0x00 && (a)->s6_addr[9] == 0x00 \
&& (a)->s6_addr[10] == 0xff && (a)->s6_addr[11] == 0xff)
@@ -95,7 +95,7 @@ struct in6_pktinfo {
((a)->s6_addr[0] == 0x00 && (a)->s6_addr[1] == 0x00 \
&& (a)->s6_addr[2] == 0x00 && (a)->s6_addr[3] == 0x00 \
&& (a)->s6_addr[4] == 0x00 && (a)->s6_addr[5] == 0x00 \
- && (a)->s6_addr[6] == 0x00 && (a)->s6_addr[9] == 0x00 \
+ && (a)->s6_addr[6] == 0x00 && (a)->s6_addr[7] == 0x00 \
&& (a)->s6_addr[8] == 0x00 && (a)->s6_addr[9] == 0x00 \
&& (a)->s6_addr[10] == 0x00 && (a)->s6_addr[11] == 0x01)