Closed mdlayher closed 2 years ago
Merging #461 (33a7075) into master (3c283ff) will not change coverage. The diff coverage is
66.66%
.
@@ Coverage Diff @@
## master #461 +/- ##
=======================================
Coverage 67.42% 67.42%
=======================================
Files 90 90
Lines 3758 3758
=======================================
Hits 2534 2534
Misses 1053 1053
Partials 171 171
Flag | Coverage Δ | |
---|---|---|
integtests | ∅ <ø> (∅) |
|
unittests | 67.42% <66.66%> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
Impacted Files | Coverage Δ | |
---|---|---|
dhcpv4/nclient4/conn_unix.go | 54.90% <66.66%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 3c283ff...33a7075. Read the comment docs.
CC @hugelgupf since this touches nclient
Hi there @insomniacslk and @hugelgupf! Any further thoughts? Like I mentioned, I think this was already broken on BSD so I would encourage moving forward with this as an improvement. Dedicated work will be necessary to make a production ready packet sockets equivalent for *BSD, and I lack that expertise at the moment.
Ping @insomniacslk.
I really wish we would not move to a "linux only" world. I've been battling to get this package working on darwin for years, and it's a shame to see a move away from portability.
I've asked a BSD friend for thoughts on this change, if there is a way forward.
See my first comment:
AFAICT that code path in package raw was actually broken because the "LinuxSockDGRAM" option never worked on BSD.
But given the lack of movement here, I'm going to close this out and let you all reevaluate. Just note that raw is unmaintained. Thanks.
Signed-off-by: Matt Layher mdlayher@gmail.com
I made and tagged a new library https://github.com/mdlayher/packet for Linux only, see the README for rationale.
Unfortunately this means we also drop support for *BSD again, but AFAICT that code path in package raw was actually broken because the "LinuxSockDGRAM" option never worked on BSD.