Skip to content
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

Re-export dhcpv4::Flags and dhcpv4::OpCode #901

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

Databean
Copy link
Contributor

@Databean Databean commented Jan 28, 2024

Similar to issue #762 and PR #763, DhcpPacket::set_flags and DhcpPacket::set_opcode were not usable externally because dhcpv4::Flags and dhcpv4::OpCode were private types. Re-export these types as smoltcp::wire::DhcpFlags and smoltcp::wire::DhcpOpCode.

Copy link

codecov bot commented Jan 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9bd836b) 79.92% compared to head (9c422f8) 79.92%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #901   +/-   ##
=======================================
  Coverage   79.92%   79.92%           
=======================================
  Files          80       80           
  Lines       28234    28234           
=======================================
  Hits        22566    22566           
  Misses       5668     5668           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Similar to issue smoltcp-rs#762 and PR smoltcp-rs#763, `DhcpPacket::set_flags` and
`DhcpPacket::set_opcode` were not usable externally because
`dhcpv4::Flags` and `dhcpv4::OpCode` were private types. Re-export these
types as `smoltcp::wire::DhcpFlags` and `smoltcp::wire::DhcpOpCode`.
@Databean Databean changed the title Re-export dhcpv4::OpCode Re-export dhcpv4::Flags and dhcpv4::OpCode Jan 28, 2024
@thvdveld thvdveld added this pull request to the merge queue Jan 30, 2024
@thvdveld
Copy link
Contributor

Thank you!

Merged via the queue into smoltcp-rs:main with commit 5eced2a Jan 30, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants