[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6_nib: fix RA reception for non-6LN interfaces (#10724)

Martine Lenders notifications at github.com
Mon Jan 7 16:51:10 CET 2019

### Contribution description
When having a non-6LN interface and a 6LN interface (e.g. on a border
router) the assertion can hit when a Router Advertisement is received.
This makes the check an `if` statement rather than an assertion, to
account for that case.

### Testing procedure
Run a border router (e.g. with ESP-now where this problem arose). It now should not hit an assertion anymore. For non-border-routers the operation should still resume as normal.

### Issues/PRs references
See https://github.com/RIOT-OS/RIOT/pull/10524#issuecomment-451620006
Examples: Fixes #1234. See also #5678. Depends on PR #9876.

Please use keywords (e.g., fixes, resolve) with the links to the issues you
resolved, this way they will be automatically closed when your pull request
is merged. See https://help.github.com/articles/closing-issues-using-keywords/.

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * gnrc_ipv6_nib: fix RA reception for non-6LN interfaces

-- File Changes --

    M sys/net/gnrc/network_layer/ipv6/nib/nib.c (16)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190107/d006008a/attachment.html>

More information about the notifications mailing list