fix(dht): Suppress the warning about IPv6 nodes when IPv6 is turned off#3032
Merged
Green-Sky merged 1 commit intoMay 7, 2026
Merged
Conversation
a186377 to
912d62a
Compare
912d62a to
f13325b
Compare
Green-Sky
requested changes
Apr 26, 2026
f13325b to
186843e
Compare
Green-Sky
requested changes
Apr 27, 2026
616131d to
74bcc23
Compare
74bcc23 to
161aecb
Compare
Author
|
It seems all non-bazel related tests are passing. @Green-Sky, could you please take another look? |
34479a0 to
b726b93
Compare
b726b93 to
b580aca
Compare
b580aca to
71c354b
Compare
Green-Sky
approved these changes
May 7, 2026
This file contains hidden or 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
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.
If user switches off IPv6 and initiates tox, the requests to to the IPv6 bootstrap nodes is still done, which results in a lot of warning messages in the log.
In this PR we check if this is the case before calling
net_send_packet, hence avoiding the warning.Related to #1432
This change is