Skip to content

Conversation

@cathay4t
Copy link
Contributor

Introducing v6::DhcpOption::code() so crate user could store it into
HashMap.

The v4 does not have, but v4::DhcpOptions::iter() already contain
option code for it.

Introducing `v6::DhcpOption::code()` so crate user could store it into
HashMap.

The v4 does not have, but `v4::DhcpOptions::iter()` already contain
option code for it.

Signed-off-by: Gris Ge <fge@redhat.com>
@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 18005088611

Details

  • 0 of 29 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 47.937%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/v6/options.rs 0 29 0.0%
Totals Coverage Status
Change from base Build 17251797289: 0.2%
Covered Lines: 1638
Relevant Lines: 3417

💛 - Coveralls

@cathay4t
Copy link
Contributor Author

Closing as I decided to implement DHCP parsing/emitting by myself as this crate is depending too many crates.

@cathay4t cathay4t closed this Sep 28, 2025
@leshow
Copy link
Collaborator

leshow commented Sep 29, 2025

Fair enough. Now that you mention it, we could probably remove a few. The biggest one is hickory-proto. For that we'd need an impl that parses dns names to replace it properly.

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.

3 participants