project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.43k stars 1.99k forks source link

[BUG] Compilation error while enabling DNS from the third_party/lwip #25488

Open kurvaSai opened 1 year ago

kurvaSai commented 1 year ago

Reproduction steps

enable LWIP_DNS=1 flag and DNS_MAX_ADDRS_PER_NAME=1

I'm trying to enable the LWIP_DNS from third_party\lwip facing compilation issues in the dns.c with the dns_table_entry structure due to discrepancy in the implementation. This issue is not seen in the revised LWIP available in third_party/silabs/gecko_sdk.

image

If the DNS_MAX_ADDRS_PER_NAME=1 is not configured.

then the error is related to DNS found callback.

Bug prevalence

Always

GitHub hash of the SDK that was being used

761aaf5ebc9aa511e7af15023d8af6ec96868024

Platform

efr32

Platform Version(s)

No response

Anything else?

lwip_dns_issue.log

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.