mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 14:03:55 +01:00
gnrc_tcp_open() previously would eventually fail with a timeout without sending any data when no netif was specified and a link-local target address was used. This fixes the behavior: - If there is only one netif, we just pick that - If there are multiple netifs, fail directly with `-EINVAL` rather than sending out nothing and waiting for a timeout. Co-authored-by: benpicco <benpicco@googlemail.com>