zephyr/subsys/net/l2
Robert Lubos be46c94e3e net: l2: openthread: Fix error logs on adding already present address
Error checking of otIp6AddUnicastAddress() and
otIp6SubscribeMulticastAddress() was added recently, however it wasn't
taken into account that those APIs return an error on attempt to
register an IPv6 address that is already present on the OT interface.
Therefore, add more specific error checks, to return silently in case
address was already present.

As those two APIs are not very consistent, and otIp6AddUnicastAddress()
returns OT_ERROR_INVALID_ARGS in such cases, add an extra check if the
address is already present before attempting to register the address.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-05-13 16:23:37 +02:00
..
canbus net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
dummy net: l2: dummy: Update sent statistics 2025-03-21 14:18:25 +01:00
ethernet net: gptp: adjust only frequency for continuous synchronization 2025-05-02 09:17:12 +02:00
ieee802154 net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
offloaded_netdev
openthread net: l2: openthread: Fix error logs on adding already present address 2025-05-13 16:23:37 +02:00
ppp net: l2: ppp: Explicitly negotiate ACCM 2025-05-09 08:23:16 +02:00
virtual net: virtual: Hook into packet filter processing 2025-04-16 08:07:34 +02:00
wifi wifi: fix -Wignored-qualifiers warning 2025-04-25 18:58:25 +02:00
CMakeLists.txt openthread: Separate OpenThread Kconfigs from L2 layer 2025-04-23 17:54:58 +02:00
Kconfig