Skip to content

Commit 65001d8

Browse files
author
Emil Popov
committed
Removes the code that needlessly clears the DNS callback list.
This code is causing DNS callbacks to not get called when the queries time out.
1 parent 1599660 commit 65001d8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

source/FreeRTOS_IP.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -670,15 +670,6 @@ void vIPNetworkUpCalls( struct xNetworkEndPoint * pxEndPoint )
670670
#endif
671671
#endif /* ipconfigUSE_NETWORK_EVENT_HOOK */
672672

673-
#if ( ipconfigDNS_USE_CALLBACKS != 0 )
674-
{
675-
/* The following function is declared in FreeRTOS_DNS.c and 'private' to
676-
* this library */
677-
extern void vDNSInitialise( void );
678-
vDNSInitialise();
679-
}
680-
#endif /* ipconfigDNS_USE_CALLBACKS != 0 */
681-
682673
/* Set remaining time to 0 so it will become active immediately. */
683674
if( pxEndPoint->bits.bIPv6 == pdTRUE_UNSIGNED )
684675
{

0 commit comments

Comments
 (0)