mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
tcp_transport/test: Fix localhost interface name
Per lwip spec it's two letter's name plus index, i.e. "lo0" (the reason "lo" was accepted before was bug in lwip)
This commit is contained in:
parent
44a9620c17
commit
e909cd5219
@ -12,7 +12,8 @@
|
||||
struct ifreq ifr; \
|
||||
ifr.ifr_name[0] = 'l'; \
|
||||
ifr.ifr_name[1] = 'o'; \
|
||||
ifr.ifr_name[2] = '\0';
|
||||
ifr.ifr_name[2] = '0'; \
|
||||
ifr.ifr_name[3] = '\0';
|
||||
|
||||
|
||||
static void tcp_transport_keepalive_test(esp_transport_handle_t transport_under_test, bool async, esp_transport_keep_alive_t *config)
|
||||
|
Loading…
x
Reference in New Issue
Block a user