-
Notifications
You must be signed in to change notification settings - Fork 163
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
Make server4 package compile on Windows #428
Conversation
6488a06
to
987bcc4
Compare
lgtm, thanks for the PR. Can you add comments to the exported functions? |
987bcc4
to
daaef18
Compare
I added comments. I was not really inspired. If you have better ideas, I take them :) |
u-root/u-root#2019 is merged and I can't update it here in the go.mod.
Do you have an idea?
works fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Codecov Report
@@ Coverage Diff @@
## master #428 +/- ##
=======================================
Coverage 67.42% 67.42%
=======================================
Files 88 88
Lines 3665 3665
=======================================
Hits 2471 2471
Misses 1030 1030
Partials 164 164
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
No, not really. |
with regards to u-root, maybe this helps: #429 |
yeah, #429 def helps. I took the windows change into the new repo as well. |
The user can pass directly a net.PacketConn. Signed-off-by: Guillaume Rose <gurose@redhat.com>
1d3b11e
to
3a04e9c
Compare
Yes #429 is great. I renamed conn to conn_unix. This PR should be good now. |
up! I think it is now good to merge, thanks |
Codecov report failing after merging this PR. https://github.com/insomniacslk/dhcp/runs/2772122685
|
I am working on an userland network stack based on gvisor (https://github.com/containers/gvisor-tap-vsock).
I use this library as the dhcp server. It works really great but doesn't compile on Windows.
This PR allows to start the server on Windows with a net.PacketConn directly
server4.WithConn()
.It also requires this PR in u-root: u-root/u-root#2019