mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-21 06:11:35 +08:00
DNS: Remove some unused, non-functional DNS functions
This commit is contained in:
@@ -287,15 +287,10 @@ static void nsh_netinit_configure(void)
|
||||
#endif /* CONFIG_NET_ICMPv6_AUTOCONF */
|
||||
#endif /* CONFIG_NET_IPv6 */
|
||||
|
||||
#if defined(CONFIG_NSH_DHCPC) || defined(CONFIG_NSH_DNS)
|
||||
/* Set up the resolver */
|
||||
|
||||
dns_bind();
|
||||
#if defined(CONFIG_NSH_DNS)
|
||||
addr.s_addr = HTONL(CONFIG_NSH_DNSIPADDR);
|
||||
dns_setserver(&addr);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_NSH_DHCPC)
|
||||
/* Get the MAC address of the NIC */
|
||||
|
Reference in New Issue
Block a user