diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-02 16:52:02 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-02 16:52:02 -0600 |
commit | d559bea3ebb08291f2312551bfb43c91ba03c18c (patch) | |
tree | 8f2bce9ac07964ef0cc8923400768bf18e10d37e /apps/examples/thttpd | |
parent | 7f24c737b4d75340484337f5418c08c5de8c981d (diff) | |
download | px4-nuttx-d559bea3ebb08291f2312551bfb43c91ba03c18c.tar.gz px4-nuttx-d559bea3ebb08291f2312551bfb43c91ba03c18c.tar.bz2 px4-nuttx-d559bea3ebb08291f2312551bfb43c91ba03c18c.zip |
NET: Rename functions in apps/netutils/netlib to begin with netlib_ vs uip_
Diffstat (limited to 'apps/examples/thttpd')
-rw-r--r-- | apps/examples/thttpd/thttpd_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/examples/thttpd/thttpd_main.c b/apps/examples/thttpd/thttpd_main.c index fbd32bb15..e847ebad3 100644 --- a/apps/examples/thttpd/thttpd_main.c +++ b/apps/examples/thttpd/thttpd_main.c @@ -200,24 +200,24 @@ int thttp_main(int argc, char *argv[]) mac[3] = 0xad; mac[4] = 0xbe; mac[5] = 0xef; - uip_setmacaddr(NET_DEVNAME, mac); + netlib_setmacaddr(NET_DEVNAME, mac); #endif /* Set up our host address */ message("Setup network addresses\n"); addr.s_addr = HTONL(CONFIG_THTTPD_IPADDR); - uip_sethostaddr(NET_DEVNAME, &addr); + netlib_sethostaddr(NET_DEVNAME, &addr); /* Set up the default router address */ addr.s_addr = HTONL(CONFIG_EXAMPLES_THTTPD_DRIPADDR); - uip_setdraddr(NET_DEVNAME, &addr); + netlib_setdraddr(NET_DEVNAME, &addr); /* Setup the subnet mask */ addr.s_addr = HTONL(CONFIG_EXAMPLES_THTTPD_NETMASK); - uip_setnetmask(NET_DEVNAME, &addr); + netlib_setnetmask(NET_DEVNAME, &addr); /* Initialize the NXFLAT binary loader */ |