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

[WIP] dhcp: use composition in AsyncDHCP4Socket #1262

Draft
wants to merge 1 commit into
base: p10-dhcp-protocol
Choose a base branch
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
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