summaryrefslogtreecommitdiff
path: root/apps/examples/telnetd
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-18 14:17:00 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-18 14:17:00 -0600
commit7726fc06938fe042704ef985b2335cc7f1278f63 (patch)
treea6155f8662c9b0d3ee5cbd241ca04c4e47ca7ea9 /apps/examples/telnetd
parentad6c6ee858c6f7317b95a4aeab2fcc42614c3b18 (diff)
downloadpx4-nuttx-7726fc06938fe042704ef985b2335cc7f1278f63.tar.gz
px4-nuttx-7726fc06938fe042704ef985b2335cc7f1278f63.tar.bz2
px4-nuttx-7726fc06938fe042704ef985b2335cc7f1278f63.zip
Rename IPv4 netlib functions and files to make room in the namespace for corresponding IPv6 functions and files
Diffstat (limited to 'apps/examples/telnetd')
-rw-r--r--apps/examples/telnetd/telnetd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/telnetd/telnetd.c b/apps/examples/telnetd/telnetd.c
index acba8238a..19ad35413 100644
--- a/apps/examples/telnetd/telnetd.c
+++ b/apps/examples/telnetd/telnetd.c
@@ -207,17 +207,17 @@ static void telnetd_netinit(void)
/* Set up our host address */
addr.s_addr = HTONL(CONFIG_EXAMPLES_TELNETD_IPADDR);
- netlib_sethostaddr("eth0", &addr);
+ netlib_set_ipv4addr("eth0", &addr);
/* Set up the default router address */
addr.s_addr = HTONL(CONFIG_EXAMPLES_TELNETD_DRIPADDR);
- netlib_setdraddr("eth0", &addr);
+ netlib_set_dripv4addr("eth0", &addr);
/* Setup the subnet mask */
addr.s_addr = HTONL(CONFIG_EXAMPLES_TELNETD_NETMASK);
- netlib_setnetmask("eth0", &addr);
+ netlib_set_ipv4netmask("eth0", &addr);
}
/****************************************************************************