From 403cc094e22feb6565ded93f8346a8446bf4ddbb Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 16 Jan 2015 13:01:08 -0600 Subject: 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. --- apps/netutils/smtp/smtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/netutils') 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. -- cgit v1.2.3