-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MinMds - remove duplicate broadcasts at startup time (remove IP addre…
…ss looping) (#27268) * Reduce the boot time advertisement of addresses. MinMDNS advertises once for every IP address, but this makes no sense as a multicast is per interface not per external IP. Ensure we only broadcast once per interface. * Remove unused method * Update src/lib/dnssd/Advertiser_ImplMinimalMdns.cpp Co-authored-by: Boris Zbarsky <bzbarsky@apple.com> * Make loopback a method in IPAddress as it seems convenient and does not require string parsing * Clean up Broadcast IP address get now that we cleaned up loopback * Restyled by clang-format * VerifyOrDie if broadcast addresses are wrong --------- Co-authored-by: Andrei Litvin <andreilitvin@google.com> Co-authored-by: Boris Zbarsky <bzbarsky@apple.com> Co-authored-by: Restyled.io <commits@restyled.io>
- Loading branch information
1 parent
effe379
commit 48c2043
Showing
5 changed files
with
90 additions
and
133 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
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
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