diff options
Diffstat (limited to 'apps/examples/tcpecho/tcpecho_main.c')
-rw-r--r-- | apps/examples/tcpecho/tcpecho_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/tcpecho/tcpecho_main.c b/apps/examples/tcpecho/tcpecho_main.c index 7dbb9dd72..34ca3c063 100644 --- a/apps/examples/tcpecho/tcpecho_main.c +++ b/apps/examples/tcpecho/tcpecho_main.c @@ -170,7 +170,7 @@ static int tcpecho_netsetup() return ERROR; } - netlib_sethostaddr("eth1", &ds.ipaddr); + netlib_sethostaddr("eth0", &ds.ipaddr); if (ds.netmask.s_addr != 0) { @@ -364,7 +364,7 @@ static int tcpecho_server(void) ****************************************************************************/ /**************************************************************************** - * discover_main + * tcpecho_main ****************************************************************************/ #ifdef CONFIG_BUILD_KERNEL |