diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-11 12:25:32 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-11 12:25:32 -0600 |
commit | 57d2acba435f67d561b63e6635330f182edc5047 (patch) | |
tree | 75ae50c7989a55783fcac71695fc4296ef1257a4 /apps/examples/uip | |
parent | fb9444d0919f03b59d58f726f05993968ecdfdd7 (diff) | |
download | nuttx-57d2acba435f67d561b63e6635330f182edc5047.tar.gz nuttx-57d2acba435f67d561b63e6635330f182edc5047.tar.bz2 nuttx-57d2acba435f67d561b63e6635330f182edc5047.zip |
Long needed clean up of DNS resolver for coding style and naming conventions
Diffstat (limited to 'apps/examples/uip')
-rw-r--r-- | apps/examples/uip/uip_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/uip/uip_main.c b/apps/examples/uip/uip_main.c index 8e485441c..35454a0dd 100644 --- a/apps/examples/uip/uip_main.c +++ b/apps/examples/uip/uip_main.c @@ -154,7 +154,7 @@ int uip_main(int argc, char *argv[]) #ifdef CONFIG_EXAMPLES_UIP_DHCPC /* Set up the resolver */ - resolv_init(); + dns_bind(); /* Get the MAC address of the NIC */ @@ -184,7 +184,7 @@ int uip_main(int argc, char *argv[]) } if (ds.dnsaddr.s_addr != 0) { - resolv_conf(&ds.dnsaddr); + dns_setserver(&ds.dnsaddr); } dhcpc_close(handle); printf("IP: %s\n", inet_ntoa(ds.ipaddr)); |