test/libc_connect: use IP outside of domain for timeout

The IP for the connect timeout test should be in another nic_router
domain, so ARP request are only processed be the nic_router and no other
IP stacks.

issue #5104
This commit is contained in:
Sebastian Sumpf 2023-12-14 18:22:51 +01:00 committed by Christian Helmuth
parent 240819b708
commit 05283ac247

View File

@ -25,7 +25,12 @@
static char const *server_connected = "10.0.1.2";
static char const *server_connection_refused = "10.0.1.2";
static char const *server_timeout = "10.0.1.4";
/*
* the unreachable server address must be in another nic_router 'domain'
* so domain local IP stacks do not have direct ARP access to the address
*/
static char const *server_timeout = "10.0.2.2";
static int const port_connected = 80;
static int const port_connection_refused = 81;