sixlowpan selects multicast address as source address (#78)

In some cases ipv6_get_saddr from sys/net/sixlowpan/sixlowip.c selects multicast addresses as a source address, what does not make sense.

Hi Oleg,

how does this happen and why should this be?

Cheers,

Thomas

Hi Thomas,

how does this happen and why should this be?

this might has been confusing, because this was the last mail sent from Github notifications to this mailing list (instead of the new one: notifications@riot-os.org).

Anyway, we discovered this bug during the 6LoWPAN plugtest today. When selecting a source address, sixlowip calls a function to find the biggest match between destination address and addresses assigned to its own interface. However, this function currently also chooses multicast addresses assigned to the interface, which is not intended.

Cheers, Oleg

Hi Oleg,