Skip to content

Commit

Permalink
Fix DNS IP preference
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-josi-aws committed Feb 27, 2024
1 parent fa60c28 commit 594982f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/FreeRTOS_DNS.c
Original file line number Diff line number Diff line change
Expand Up @@ -1253,11 +1253,11 @@
{
xDNS_IP_Preference = xPreferenceIPv6;
}
else
else
{
xDNS_IP_Preference = xPreferenceIPv4;
}
#endif /* ( ipconfigUSE_IPv6 != 0 ) */
{
xDNS_IP_Preference = xPreferenceIPv4;
}

pxEndPoint = prvFillSockAddress( &xAddress, pcHostName );

Expand Down

0 comments on commit 594982f

Please sign in to comment.