Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys/net/gnrc/tcp: fix gnrc_tcp_open() netif handling
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: Since any interface is equally valid for a link local address, we just pick the first netif when no netif is specified. Especially in the case of a single netif (which is pretty common), the new behavior will match expectations a lot better. Co-authored-by: benpicco <[email protected]>
- Loading branch information