-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix MinMdns sending duplicate broadcast packets, add a debug menu on m5stack #10571
Merged
andy31415
merged 4 commits into
project-chip:master
from
andy31415:fix_duplicate_broadcast
Oct 20, 2021
Merged
Fix MinMdns sending duplicate broadcast packets, add a debug menu on m5stack #10571
andy31415
merged 4 commits into
project-chip:master
from
andy31415:fix_duplicate_broadcast
Oct 20, 2021
Conversation
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
Sending 'by interfaces' sends replies in both IPv4 and IPv6 targets even though queries are received on a specific type. Since on dual stack we listen on both IPv4 and IPv6 this results in double packet sending every time. Fix logic error: udp->GetBoundInterface() is never set in the current code as we bind ip/port rather than interface.
pullapprove
bot
requested review from
anush-apple,
austinh0,
balducci-apple,
bzbarsky-apple,
carol-apple,
cecille,
chrisdecenzo,
chulspro,
Damian-Nordic,
emargolis,
franck-apple,
harimau-qirex,
hawk248,
holbrookt,
jelderton,
jepenven-silabs,
jmartinez-silabs,
kpschoedel,
LuDuda,
msandstedt,
mspang,
pan-apple,
robszewczyk,
sagar-apple,
saurabhst,
shana-apple and
vivien-apple
October 15, 2021 17:07
pullapprove
bot
requested review from
wbschiller,
woody-apple,
yufengwangca and
yunhanw-google
October 15, 2021 17:07
PR #10571: Size comparison from efc17de to 1262c94 16 builds
6 builds
2 builds
10 builds
|
tcarmelveilleux
approved these changes
Oct 17, 2021
PR #10571: Size comparison from 5987dab to 82c1dc5 2 builds
32 builds
|
Size increase report for "esp32-example-build" from 5987dab
Full report output
|
bzbarsky-apple
approved these changes
Oct 19, 2021
cecille
approved these changes
Oct 19, 2021
msandstedt
approved these changes
Oct 20, 2021
jmartinez-silabs
approved these changes
Oct 20, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Logic error for bound interface detection: udp->GetBoundInterface() is always null because we bind for address/port not by interface
ESP32 listens on NULL inteface however interfaces have both IPv4 and IPv6 addresses, so broadcast sends will reply on both (since filter by interface without type), resulting in double mDNS broadcasts.
Change overview
Testing
Manually checked with wireshark.