Skip to content
Commit 4a4c6351 authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Johan Hedberg
Browse files

net: if: check for multicast address already registered



Add a check to stop a multicast address to be registered multiple times.
This can happen if the application is using net_if_ipv6_maddr_add()
directly.

Tested on the existing bluetooth/ipsp sample:

<wrn> net_if: Multicast address ff02::1 is is already registered.

Signed-off-by: default avatarFabio Baltieri <fabio.baltieri@gmail.com>
parent f6fbf1ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment