diff options
| author | Ulf Lilleengen <[email protected]> | 2023-01-24 09:57:26 +0100 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2023-01-24 10:25:37 +0100 |
| commit | 2a0ea52878ece15fa12c9d70da32b5809aa1e713 (patch) | |
| tree | a1829fdb10b292e46a6cce8f711e9671d5a600ce /embassy-net | |
| parent | 5ee8626d72d10082c741f26aa749c46f58e7e30d (diff) | |
add missing copy of icmpv6 checksum
add proto-ipv6 feature to stm32h7 example to catch issues in CI
Diffstat (limited to 'embassy-net')
| -rw-r--r-- | embassy-net/src/device.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embassy-net/src/device.rs b/embassy-net/src/device.rs index 650af23b8..5daa00544 100644 --- a/embassy-net/src/device.rs +++ b/embassy-net/src/device.rs | |||
| @@ -60,6 +60,10 @@ where | |||
| 60 | smolcaps.checksum.tcp = convert(caps.checksum.tcp); | 60 | smolcaps.checksum.tcp = convert(caps.checksum.tcp); |
| 61 | smolcaps.checksum.udp = convert(caps.checksum.udp); | 61 | smolcaps.checksum.udp = convert(caps.checksum.udp); |
| 62 | smolcaps.checksum.icmpv4 = convert(caps.checksum.icmpv4); | 62 | smolcaps.checksum.icmpv4 = convert(caps.checksum.icmpv4); |
| 63 | #[cfg(feature = "proto-ipv6")] | ||
| 64 | { | ||
| 65 | smolcaps.checksum.icmpv6 = convert(caps.checksum.icmpv6); | ||
| 66 | } | ||
| 63 | 67 | ||
| 64 | smolcaps | 68 | smolcaps |
| 65 | } | 69 | } |
