Skip to content

[WIP] dhcp: use composition in AsyncDHCP4Socket #1262

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

Closed
wants to merge 2 commits into from

Conversation

svinota
Copy link
Owner

@svinota svinota commented Jan 29, 2025

Don't inherit from AsyncRawSocket class, but instead use it as a property.

The idea is to ease AsyncRawSocket replacement with a mock class (the commit with such mock class will follow) to run unit testing.

@svinota svinota closed this Jan 29, 2025
@svinota
Copy link
Owner Author

svinota commented Jan 30, 2025

@etene , I will rebase & rework it once we merge the main dhcp code.

@svinota svinota reopened this Jan 30, 2025
@etene etene force-pushed the p10-dhcp-protocol branch 3 times, most recently from 133c63f to 85a4bcc Compare February 1, 2025 14:58
@svinota svinota deleted the branch p10-dhcp-protocol April 28, 2025 17:06
@svinota svinota closed this Apr 28, 2025
@svinota svinota deleted the p10-dhcp-composition branch April 28, 2025 17:07
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.

1 participant