Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions source/FreeRTOS_IP.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,15 +670,6 @@ void vIPNetworkUpCalls( struct xNetworkEndPoint * pxEndPoint )
#endif
#endif /* ipconfigUSE_NETWORK_EVENT_HOOK */

#if ( ipconfigDNS_USE_CALLBACKS != 0 )
{
/* The following function is declared in FreeRTOS_DNS.c and 'private' to
* this library */
extern void vDNSInitialise( void );
vDNSInitialise();
}
#endif /* ipconfigDNS_USE_CALLBACKS != 0 */

/* Set remaining time to 0 so it will become active immediately. */
if( pxEndPoint->bits.bIPv6 == pdTRUE_UNSIGNED )
{
Expand Down
2 changes: 0 additions & 2 deletions test/unit-test/FreeRTOS_IP/FreeRTOS_IP_utest.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ void test_vIPNetworkUpCalls( void )
xEndPoint.bits.bIPv6 = pdFALSE;

vApplicationIPNetworkEventHook_Multi_Expect( eNetworkUp, &xEndPoint );
vDNSInitialise_Expect();
vARPTimerReload_Expect( pdMS_TO_TICKS( 10000 ) );

vIPNetworkUpCalls( &xEndPoint );
Expand Down Expand Up @@ -4369,7 +4368,6 @@ static void prvIPNetworkUpCalls_Generic( const uint8_t * pucAddress,
}

vApplicationIPNetworkEventHook_Multi_Expect( eNetworkUp, &xEndPoint );
vDNSInitialise_Expect();

if( xEndPoint.bits.bIPv6 == pdTRUE_UNSIGNED )
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,6 @@ void test_vIPNetworkUpCalls_BackwardCompatible( void )
NetworkEndPoint_t xEndPoint = { 0 };

vApplicationIPNetworkEventHook_Expect( eNetworkUp );
vDNSInitialise_Expect();
vARPTimerReload_Expect( pdMS_TO_TICKS( 10000 ) );

vIPNetworkUpCalls( &xEndPoint );
Expand Down
Loading