#NEWLINE# def posixGetLinkLocalIPv6Addresses( ) : #NEWLINE# #INDENT# '\n    Return a list of strings in colon-hex format representing all the link local\n    IPv6 addresses available on the system, as reported by I{getifaddrs(3)}.\n    ' #NEWLINE# retList = [ ] #NEWLINE# for ( interface , family , address ) in _interfaces ( ) : #NEWLINE# #INDENT# if ( ( family == socket . AF_INET6 ) and address . startswith ( 'fe80:' ) ) : #NEWLINE# #INDENT# retList . append ( ( '%s%%%s' % ( address , interface ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# return retList