NET: Rename uip_ipaddr* to net_ipaddr*
This commit is contained in:
parent
165e5df670
commit
b7d73dab81
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -288,7 +288,7 @@ void smtp_configure(FAR void *handle, FAR const char *lhostname,
|
||||
{
|
||||
FAR struct smtp_state *psmtp = (FAR struct smtp_state *)handle;
|
||||
psmtp->localhostname = lhostname;
|
||||
uip_ipaddr_copy(psmtp->smtpserver, paddr);
|
||||
net_ipaddr_copy(psmtp->smtpserver, paddr);
|
||||
}
|
||||
|
||||
/* Send an e-mail.
|
||||
|
Loading…
Reference in New Issue
Block a user