Skip to content

Commit

Permalink
fix dns cache test
Browse files Browse the repository at this point in the history
  • Loading branch information
HTRamsey committed Feb 4, 2024
1 parent d39b828 commit cbe7d52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ void test_prepare_DNSLookup( void )
xAddress.xIs_IPv6 = pdFALSE;
xAddress.xIPAddress.ulIP_IPv4 = ulIP;

struct freertos_addrinfo * pxAddrInfo = &pucAddrBuffer[ 2 ];
struct freertos_addrinfo * pxAddrInfo = &pucAddrBuffer[ 1 ];

( void ) memset( pxAddrInfo, 0, sizeof( *pxAddrInfo ) );
pxAddrInfo->ai_canonname = pxAddrInfo->xPrivateStorage.ucName;
Expand Down

0 comments on commit cbe7d52

Please sign in to comment.