We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7d0d55 commit 4a6a411Copy full SHA for 4a6a411
1 file changed
devices/airlift/common-hal/wifi/Radio.c
@@ -524,6 +524,7 @@ static void wifi_radio_get_dns_config(wifi_radio_obj_t *self, mp_obj_t dns_ipv4_
524
responses, response_lengths, LENGTHS_8, MP_ARRAY_SIZE(responses),
525
AIRLIFT_DEFAULT_TIMEOUT_MS);
526
527
+ *num_dns = 0;
528
if (num_responses == 2) {
529
for (size_t dns_i = 0; dns_i < 2; dns_i++) {
530
// Only count the non-zero IP addresses.
0 commit comments