diff options
Diffstat (limited to 'apps/examples/wget/target.c')
-rw-r--r-- | apps/examples/wget/target.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/wget/target.c b/apps/examples/wget/target.c index 9b9cfc813..a80a110fe 100644 --- a/apps/examples/wget/target.c +++ b/apps/examples/wget/target.c @@ -133,17 +133,17 @@ int wget_main(int argc, char *argv[]) /* Set up our host address */ addr.s_addr = HTONL(CONFIG_EXAMPLES_WGET_IPADDR); - netlib_sethostaddr("eth0", &addr); + netlib_set_ipv4addr("eth0", &addr); /* Set up the default router address */ addr.s_addr = HTONL(CONFIG_EXAMPLES_WGET_DRIPADDR); - netlib_setdraddr("eth0", &addr); + netlib_set_dripv4addr("eth0", &addr); /* Setup the subnet mask */ addr.s_addr = HTONL(CONFIG_EXAMPLES_WGET_NETMASK); - netlib_setnetmask("eth0", &addr); + netlib_set_ipv4netmask("eth0", &addr); /* Then start the server */ |