mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-12-13 02:06:39 +08:00
This simple patch causes tcp_listen() to inherit the netbuf_idx setting of the original pcb. Without this, it is not possible to restrict a socket to a specific interface using SO_BINDTODEVICE before listening. Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>