6LoWPAN: fix yet another addressing problem. That does it. Several recent, proper bugfixes unmasked a few errors in the 6LoWPAN logic. But I think full functionality is restored.
This commit is contained in:
parent
9c2f67c477
commit
b3b3630991
@ -1218,7 +1218,7 @@ void sixlowpan_uncompresshdr_hc06(FAR const struct ieee802154_data_ind_s *ind,
|
||||
return;
|
||||
}
|
||||
|
||||
uncompress_addr(&ind->src, addrcontext->prefix,
|
||||
uncompress_addr(&ind->dest, addrcontext->prefix,
|
||||
g_unc_ctxconf[tmp], ipv6->destipaddr);
|
||||
}
|
||||
else
|
||||
@ -1227,7 +1227,7 @@ void sixlowpan_uncompresshdr_hc06(FAR const struct ieee802154_data_ind_s *ind,
|
||||
* as SAC.
|
||||
*/
|
||||
|
||||
uncompress_addr(&ind->src,g_llprefix, g_unc_llconf[tmp],
|
||||
uncompress_addr(&ind->dest,g_llprefix, g_unc_llconf[tmp],
|
||||
ipv6->destipaddr);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user