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.
This commit is contained in:
parent
36118a1b76
commit
7720c35502
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user