File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -431,13 +431,13 @@ impl<'a> Device<'a> for EthernetDevice {
431431 cap. max_transmission_unit = TX_BUFFER_SIZE ;
432432 cap. max_burst_size = Some ( NUM_TX_DESCRIPTORS ) ;
433433
434- cap. checksum = ChecksumCapabilities :: ignored ( ) ;
435- cap. checksum . ipv4 = Checksum :: None ;
434+ cap. checksum = ChecksumCapabilities :: default ( ) ;
435+ // cap.checksum.ipv4 = Checksum::None;
436436 // cap.checksum.ipv6 = Checksum::None;
437- cap. checksum . udp = Checksum :: None ;
438- cap. checksum . tcp = Checksum :: None ;
439- cap. checksum . icmpv4 = Checksum :: None ;
440- cap. checksum . icmpv6 = Checksum :: None ;
437+ // cap.checksum.udp = Checksum::None;
438+ // cap.checksum.tcp = Checksum::None;
439+ // cap.checksum.icmpv4 = Checksum::None;
440+ // cap.checksum.icmpv6 = Checksum::None;
441441
442442 cap
443443 }
You can’t perform that action at this time.
0 commit comments