misc/177705: wrong IPv6 link local address reported by getifaddrs()

Jean-Jacques Sarton jj.sarton at web.de
Mon Apr 8 09:40:01 UTC 2013


>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:


More information about the freebsd-bugs mailing list