forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make AddressResolver not keep duplicate IP addresses in its cache (pr…
…oject-chip#36861) * Add FAILING unit test that address resolve does dedup of inputs * Unit tests pass, but code is not YET complete * Tests still pass... * Update comments * Restyle * Include fix * Restyled by clang-format * Enforce more lookup results... this makes tests happy and also it sounds like just picking a single address by default is a bit low * Fix casts * Apparently adding mdns results increases RAM a lot and esp32 m5 does not have sufficient space. This is a bit concerning ... * Fix condition that I messed up * Update non-LL interface for the dedup logic as well * Fix includes * Fix typo * moved a bit the test guard: we have 2 tests that need 3 slots and more --------- Co-authored-by: Restyled.io <[email protected]> Co-authored-by: Andrei Litvin <[email protected]>
- Loading branch information
1 parent
dca8f9b
commit 2c6c421
Showing
2 changed files
with
170 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters