Merge pull request #10627 from miri64/gnrc_ipv6_nib/fix/forward-to-pl
gnrc_ipv6_nib: don't ignore PL for route
This commit is contained in:
commit
e47c8fa91c
@ -619,8 +619,7 @@ int _nib_get_route(const ipv6_addr_t *dst, gnrc_pktsnip_t *pkt,
|
|||||||
(void *)pkt);
|
(void *)pkt);
|
||||||
_nib_offl_entry_t *offl = _nib_offl_get_match(dst);
|
_nib_offl_entry_t *offl = _nib_offl_get_match(dst);
|
||||||
|
|
||||||
if ((offl == NULL) || (offl->mode == _PL)) {
|
if (offl == NULL) {
|
||||||
/* give default router precedence over PLE */
|
|
||||||
_nib_dr_entry_t *router = _nib_drl_get_dr();
|
_nib_dr_entry_t *router = _nib_drl_get_dr();
|
||||||
|
|
||||||
if ((router == NULL) && (offl == NULL)) {
|
if ((router == NULL) && (offl == NULL)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user