summaryrefslogtreecommitdiff
path: root/apps/examples/ftpd/ftpd_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/ftpd/ftpd_main.c')
-rw-r--r--apps/examples/ftpd/ftpd_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/examples/ftpd/ftpd_main.c b/apps/examples/ftpd/ftpd_main.c
index 69e806ec9..bfd20b093 100644
--- a/apps/examples/ftpd/ftpd_main.c
+++ b/apps/examples/ftpd/ftpd_main.c
@@ -96,23 +96,23 @@ static void fptd_netinit(void)
mac[3] = 0xad;
mac[4] = 0xbe;
mac[5] = 0xef;
- uip_setmacaddr("eth0", mac);
+ netlib_setmacaddr("eth0", mac);
#endif
/* Set up our host address */
addr.s_addr = HTONL(CONFIG_EXAMPLES_FTPD_IPADDR);
- uip_sethostaddr("eth0", &addr);
+ netlib_sethostaddr("eth0", &addr);
/* Set up the default router address */
addr.s_addr = HTONL(CONFIG_EXAMPLES_FTPD_DRIPADDR);
- uip_setdraddr("eth0", &addr);
+ netlib_setdraddr("eth0", &addr);
/* Setup the subnet mask */
addr.s_addr = HTONL(CONFIG_EXAMPLES_FTPD_NETMASK);
- uip_setnetmask("eth0", &addr);
+ netlib_setnetmask("eth0", &addr);
#endif /* CONFIG_EXAMPLES_FTPD_NONETINIT */
}