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/discover/discover_main.c | |
parent | fb9444d0919f03b59d58f726f05993968ecdfdd7 (diff) | |
download | px4-nuttx-57d2acba435f67d561b63e6635330f182edc5047.tar.gz px4-nuttx-57d2acba435f67d561b63e6635330f182edc5047.tar.bz2 px4-nuttx-57d2acba435f67d561b63e6635330f182edc5047.zip |
Long needed clean up of DNS resolver for coding style and naming conventions
Diffstat (limited to 'apps/examples/discover/discover_main.c')
-rw-r--r-- | apps/examples/discover/discover_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/discover/discover_main.c b/apps/examples/discover/discover_main.c index 9c8f5f512..d8b32d315 100644 --- a/apps/examples/discover/discover_main.c +++ b/apps/examples/discover/discover_main.c @@ -134,7 +134,7 @@ int discover_main(int argc, char *argv[]) #ifdef CONFIG_EXAMPLES_DISCOVER_DHCPC /* Set up the resolver */ - resolv_init(); + dns_bind(); /* Get the MAC address of the NIC */ @@ -167,7 +167,7 @@ int discover_main(int argc, char *argv[]) if (ds.dnsaddr.s_addr != 0) { - resolv_conf(&ds.dnsaddr); + dns_setserver(&ds.dnsaddr); } dhcpc_close(handle); |