Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2013 09:33:20 GMT
From:      Jean-Jacques Sarton <jj.sarton@web.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/177705: wrong IPv6 link local address reported by getifaddrs()
Message-ID:  <201304080933.r389XK36042637@red.freebsd.org>
Resent-Message-ID: <201304080940.r389e01r040319@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177705
>Category:       misc
>Synopsis:       wrong IPv6 link local address reported by getifaddrs()
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 08 09:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Jacques Sarton
>Release:        PC-BSD 9.1 ( based on freeBSD 9.1)
>Organization:
-
>Environment:
0.1 RELEASE
>Description:
If getifaddrs() is called we will see for example the following addresses:

fe80:0001:0000:0000:0a00:27ff:fe69:3ee5
0000:0000:0000:0000:0000:0000:0000:0001
fe80:0003:0000:0000:0000:0000:0000:0001

The first and last addresses are wrong, the 4. byte don't contain 0 as expected.
The value 1 or 3 correspond to the scope id as reported by ifconfig
>How-To-Repeat:
use a little program using getifaddrs and print out the IPv6 addresses.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304080933.r389XK36042637>