summaryrefslogtreecommitdiff
path: root/apps/examples
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-06-29 13:11:08 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-06-29 13:11:08 -0600
commitdb01dd7d4bb05dcb6a12131beeb18e9dff8c09ce (patch)
treebb51333d9bffe0423fb6b2e14136e611d3ebd31f /apps/examples
parent47835f30174bd60663fc86eecf1c83a23ba59cac (diff)
downloadpx4-nuttx-db01dd7d4bb05dcb6a12131beeb18e9dff8c09ce.tar.gz
px4-nuttx-db01dd7d4bb05dcb6a12131beeb18e9dff8c09ce.tar.bz2
px4-nuttx-db01dd7d4bb05dcb6a12131beeb18e9dff8c09ce.zip
NET: Rename uip_ipaddr* to net_ipaddr*
Diffstat (limited to 'apps/examples')
-rw-r--r--apps/examples/sendmail/host.c2
-rw-r--r--apps/examples/sendmail/target.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/sendmail/host.c b/apps/examples/sendmail/host.c
index a175d2e9a..d603372ad 100644
--- a/apps/examples/sendmail/host.c
+++ b/apps/examples/sendmail/host.c
@@ -90,7 +90,7 @@ int main(int argc, char **argv, char **envp)
printf("sendmail: Subject: %s\n", g_subject);
printf("sendmail: Body: %s\n", g_msg_body);
- uip_ipaddr(addr.s_addr, 127, 0, 0, 1);
+ net_ipaddr(addr.s_addr, 127, 0, 0, 1);
handle = smtp_open();
if (handle)
{
diff --git a/apps/examples/sendmail/target.c b/apps/examples/sendmail/target.c
index 59a51f5d9..e9e189da7 100644
--- a/apps/examples/sendmail/target.c
+++ b/apps/examples/sendmail/target.c
@@ -144,7 +144,7 @@ int sendmail_main(int argc, char *argv[])
/* Then send the mail */
- uip_ipaddr(addr.s_addr, 127, 0, 0, 1);
+ net_ipaddr(addr.s_addr, 127, 0, 0, 1);
handle = smtp_open();
if (handle)
{