Skip to content

Send outgoing packets for every address#462

Draft
anti-social wants to merge 1 commit intokeepsimple1:mainfrom
anti-social:multi-addr-if
Draft

Send outgoing packets for every address#462
anti-social wants to merge 1 commit intokeepsimple1:mainfrom
anti-social:multi-addr-if

Conversation

@anti-social
Copy link
Copy Markdown
Contributor

@anti-social anti-social commented Apr 23, 2026

Partially fixes #459

@keepsimple1
Copy link
Copy Markdown
Owner

Thanks for submitting the PR! I understand it's still in Draft, but I have a general comment: can we split this PR into smaller ones that are relatively independent (or built on-top) of each other? That will make review and merge much easier.

For example, those cleanup changes can be in one PR:

  • println!debug! in DnsHostInfo::write.
  • u32-overflow fix in get_expiration_time.
  • add Debug derives on DnsOutPacket, etc.

@anti-social
Copy link
Copy Markdown
Contributor Author

anti-social commented Apr 27, 2026

I've fixed u32 overflow in a PR that optimizes dns packet serialization because I caught it in tests that were written for the PR

#465 #466 #467

Comment thread src/service_daemon.rs
/// Resend unregister packet.
UnregisterResend(Vec<u8>, u32, bool), // (packet content, if_index, is_ipv4)
/// Resend unregister packets.
UnregisterResend(Vec<DnsOutPacket>, u32, bool), // (packets to resend, if_index, is_ipv4)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We changed this variant thus DnsOutPacket should implement std::fmt::Debug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple interface address case

2 participants