[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6_nib: consider all local interfaces when looking for address (#16569)

benpicco notifications at github.com
Fri Jun 18 01:36:00 CEST 2021

The RIOT community cares a lot about code quality.
Therefore, before describing what your contribution is about, we would like
you to make sure that your modifications are compliant with the RIOT
coding conventions, see https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions.

### Contribution description

If a node has two interfaces A with `2001:16b8:45b5:9af8:5884:3bff:fe4f:a903` and B with `2001:16b8:45b5:9afa:5884:3bff:fe4f:a902` and receives a neighbor solicitation on A for an address configured on interface B, answer the neighbor solicitation instead of bailing out with

> Target address `2001:16b8:45b5:9afa:5884:3bff:fe4f:a902` is not assigned to the local interface

### Testing procedure

Details steps to test your contribution:
- which test/example to compile for which board and is there a 'test' command
- how to know that it was not working/available in master
- the expected success test output

### Issues/PRs references

see https://github.com/RIOT-OS/RIOT/pull/8823#discussion_r651768593

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


-- Commit Summary --

  * gnrc_ipv6_nib: consider all local interfaces when looking for address

-- File Changes --

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

-- 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/20210617/ab0b3252/attachment.htm>

More information about the notifications mailing list