mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-23 07:12:29 +00:00
Merge #1172
1172: IPv6 has no checksum r=lulf a=davidedellagiustina As title says. Fixes `embassy-net` not compiling when feature `proto-ipv6` is enabled. Co-authored-by: Davide Della Giustina <davide@dellagiustina.com>
This commit is contained in:
commit
5ee8626d72
@ -57,10 +57,6 @@ where
|
||||
),
|
||||
};
|
||||
smolcaps.checksum.ipv4 = convert(caps.checksum.ipv4);
|
||||
#[cfg(feature = "proto-ipv6")]
|
||||
{
|
||||
smolcaps.checksum.ipv6 = convert(caps.checksum.ipv6);
|
||||
}
|
||||
smolcaps.checksum.tcp = convert(caps.checksum.tcp);
|
||||
smolcaps.checksum.udp = convert(caps.checksum.udp);
|
||||
smolcaps.checksum.icmpv4 = convert(caps.checksum.icmpv4);
|
||||
|
Loading…
Reference in New Issue
Block a user