summaryrefslogtreecommitdiff
path: root/apps/netutils
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-16 13:01:08 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-16 13:01:08 -0600
commit403cc094e22feb6565ded93f8346a8446bf4ddbb (patch)
tree7b2706373a3d000f9dd145e7c14547e6106de25d /apps/netutils
parent1cab7bb6d184c0bba4889bf6eac7a863f0f242c7 (diff)
downloadpx4-nuttx-403cc094e22feb6565ded93f8346a8446bf4ddbb.tar.gz
px4-nuttx-403cc094e22feb6565ded93f8346a8446bf4ddbb.tar.bz2
px4-nuttx-403cc094e22feb6565ded93f8346a8446bf4ddbb.zip
Networking: Replace all references to the macros net_ipaddr_copy, net_ipaddr_hdrcopy, net_ipaddr_cmp, net_ipaddr_hdrcmp, and net_ipaddr_maskcmp with the appropriate IPv4 or IPv6 version of the macro (such as net_ipv4addr_copy). The goal is to support both IPv4 and IPv6 simultaneously. This requires that the macros be distinct and not conditionally defined to one on or the other.
Diffstat (limited to 'apps/netutils')
-rw-r--r--apps/netutils/smtp/smtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/netutils/smtp/smtp.c b/apps/netutils/smtp/smtp.c
index f33183ff6..d3cab20a9 100644
--- a/apps/netutils/smtp/smtp.c
+++ b/apps/netutils/smtp/smtp.c
@@ -290,7 +290,7 @@ void smtp_configure(FAR void *handle, FAR const char *lhostname,
{
FAR struct smtp_state *psmtp = (FAR struct smtp_state *)handle;
psmtp->localhostname = lhostname;
- net_ipaddr_copy(psmtp->smtpserver, paddr);
+ net_ipv4addr_copy(psmtp->smtpserver, paddr);
}
/* Send an e-mail.