diff options
Diffstat (limited to 'nuttx/examples/nettest/nettest-client.c')
-rw-r--r-- | nuttx/examples/nettest/nettest-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/examples/nettest/nettest-client.c b/nuttx/examples/nettest/nettest-client.c index 38f98875e..98080d0c2 100644 --- a/nuttx/examples/nettest/nettest-client.c +++ b/nuttx/examples/nettest/nettest-client.c @@ -84,7 +84,7 @@ void send_client(void) #if 0 myaddr.sin_addr.s_addr = HTONL(INADDR_LOOPBACK); #else - myaddr.sin_addr.s_addr = HTONL(192 << 24 | 168 << 16 | 0 << 8 |106); + myaddr.sin_addr.s_addr = HTONL(CONFIG_EXAMPLE_NETTEST_CLIENTIP); #endif printf("client: Connecting...\n"); |