lkml.org 
[lkml]   [2007]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] IPv6: ipv6_addr_type() doesn't know about RFC4193 addresses
    Date
    On Thursday 26 July 2007 20:21:59 Simon Arlott wrote:
    > On 26/07/07 00:49, Dave Johnson wrote:
    > > ipv6_addr_type() doesn't check for 'Unique Local IPv6 Unicast
    > > Addresses' (RFC4193) and returns IPV6_ADDR_RESERVED for that range.
    > >
    > > + if ((st & htonl(0xFE000000)) == htonl(0xFC000000))
    > > + return (IPV6_ADDR_UNICAST |
    > > + IPV6_ADDR_SCOPE_TYPE(IPV6_ADDR_SCOPE_GLOBAL)); /* RFC 4193 */
    >
    > But ULA's scope isn't global, shouldn't it be IPV6_ADDR_SCOPE_ORGLOCAL ?

    Yes it is - global.

    --
    Rémi Denis-Courmont
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-07-26 20:45    [W:0.019 / U:2.608 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site