6lowpan: iphc: fix stateful multicast compression
authorAlexander Aring <aar@pengutronix.de>
Wed, 24 Feb 2016 11:01:03 +0000 (12:01 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 24 Feb 2016 15:14:30 +0000 (16:14 +0100)
commit8790404de0e5f47ef721e2ed36ebb0f2314722ac
treef5264b2901cef1b2c549d3b08a92692cc4442d3f
parentebba380cc94689e372387aa7f63c063a3663e846
6lowpan: iphc: fix stateful multicast compression

In case of multicast address we need to set always the LOWPAN_IPHC_M bit
and if a destination context identifier was found for a multicast
address then we need to set the LOWPAN_IPHC_DAC as well.

Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/6lowpan/iphc.c