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

Changed Dhcpv4Client to use device checksum capabilities #373

Merged
merged 1 commit into from
Oct 22, 2020

Conversation

Spadi0
Copy link
Contributor

@Spadi0 Spadi0 commented Aug 19, 2020

Fixes #371 by fetching the checksum capabilities from the Device.

Previously, the checksum capabilities were always set to ChecksumCapabilities::default(), which could mess with the checksum generation.

@whitequark
Copy link
Contributor

Hm, the tests are all broken, not sure why.

@Spadi0
Copy link
Contributor Author

Spadi0 commented Aug 20, 2020

@whitequark From what I can see, the broken tests have occurred on at least one more PR (#372).

I did some digging, and it seems to be something to do with the nightly toolchain. Running the tests locally using the .test_like_travis.rb file, it seems to work fine on rustc 1.47.0-nightly (7e6d6e5f5 2020-08-16), but breaks on rustc 1.47.0-nightly (792c645ca 2020-08-17).

Evidentally, something that was commited between those versions breaks something, but I'm not sure what or why.

@whitequark whitequark merged commit 1268fb3 into smoltcp-rs:master Oct 22, 2020
@Spadi0 Spadi0 deleted the dhcp-checksum branch October 22, 2020 15:15
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.

DHCP ignores device checksum capabilities
2 participants