Ticket #14724: in6.patch

File in6.patch, 1.0 KB (added by nathan, 6 years ago)

Patch for in6.h

  • headers/posix/netinet6/in6.h

    diff --git a/headers/posix/netinet6/in6.h b/headers/posix/netinet6/in6.h
    index 362b248ed3..8f897c8373 100644
    a b struct in6_pktinfo {  
    8787    ((a)->s6_addr[0] == 0x00 && (a)->s6_addr[1] == 0x00 \
    8888    && (a)->s6_addr[2] == 0x00 && (a)->s6_addr[3] == 0x00 \
    8989    && (a)->s6_addr[4] == 0x00 && (a)->s6_addr[5] == 0x00 \
    90     && (a)->s6_addr[6] == 0x00 && (a)->s6_addr[9] == 0x00 \
     90    && (a)->s6_addr[6] == 0x00 && (a)->s6_addr[7] == 0x00 \
    9191    && (a)->s6_addr[8] == 0x00 && (a)->s6_addr[9] == 0x00 \
    9292    && (a)->s6_addr[10] == 0xff && (a)->s6_addr[11] == 0xff)
    9393
    struct in6_pktinfo {  
    9595    ((a)->s6_addr[0] == 0x00 && (a)->s6_addr[1] == 0x00 \
    9696    && (a)->s6_addr[2] == 0x00 && (a)->s6_addr[3] == 0x00 \
    9797    && (a)->s6_addr[4] == 0x00 && (a)->s6_addr[5] == 0x00 \
    98     && (a)->s6_addr[6] == 0x00 && (a)->s6_addr[9] == 0x00 \
     98    && (a)->s6_addr[6] == 0x00 && (a)->s6_addr[7] == 0x00 \
    9999    && (a)->s6_addr[8] == 0x00 && (a)->s6_addr[9] == 0x00 \
    100100    && (a)->s6_addr[10] == 0x00 && (a)->s6_addr[11] == 0x01)
    101101