mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-09 23:54:32 +00:00
Merge pull request #345 from oliverschmidt/master
Removed unnecessary code from resolver.
This commit is contained in:
commit
ce7f350ba9
@ -1139,7 +1139,6 @@ PROCESS_THREAD(resolv_process, ev, data)
|
|||||||
PRINTF("resolver: Process started.\n");
|
PRINTF("resolver: Process started.\n");
|
||||||
|
|
||||||
resolv_conn = udp_new(NULL, 0, NULL);
|
resolv_conn = udp_new(NULL, 0, NULL);
|
||||||
resolv_conn->rport = 0;
|
|
||||||
|
|
||||||
#if RESOLV_CONF_SUPPORTS_MDNS
|
#if RESOLV_CONF_SUPPORTS_MDNS
|
||||||
PRINTF("resolver: Supports MDNS.\n");
|
PRINTF("resolver: Supports MDNS.\n");
|
||||||
@ -1420,7 +1419,6 @@ void
|
|||||||
resolv_conf(const uip_ipaddr_t * dnsserver)
|
resolv_conf(const uip_ipaddr_t * dnsserver)
|
||||||
{
|
{
|
||||||
uip_ipaddr_copy(&resolv_default_dns_server, dnsserver);
|
uip_ipaddr_copy(&resolv_default_dns_server, dnsserver);
|
||||||
process_post(&resolv_process, EVENT_NEW_SERVER, &resolv_default_dns_server);
|
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
/** \internal
|
/** \internal
|
||||||
|
Loading…
Reference in New Issue
Block a user