Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: capsule-rs/capsule
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cc63a3474bc0b41c465ab10c0a69a2aec018ddc1
Choose a base ref
..
head repository: capsule-rs/capsule
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e7cd0927da3616f4c08aa4c42b2f354d82ab18b1
Choose a head ref
Showing with 1 addition and 3 deletions.
  1. +1 −2 core/src/packets/tcp.rs
  2. +0 −1 core/src/packets/udp.rs
3 changes: 1 addition & 2 deletions core/src/packets/tcp.rs
Original file line number Diff line number Diff line change
@@ -643,8 +643,7 @@ impl Default for TcpHeader {
#[cfg(test)]
mod tests {
use super::*;
use crate::packets::ip::v4::Ipv4;
use crate::packets::ip::v6::{Ipv6, SegmentRouting};
use crate::packets::ip::v6::SegmentRouting;
use crate::packets::Ethernet;
use crate::testils::byte_arrays::{IPV4_TCP_PACKET, IPV4_UDP_PACKET, SR_TCP_PACKET};
use crate::Mbuf;
1 change: 0 additions & 1 deletion core/src/packets/udp.rs
Original file line number Diff line number Diff line change
@@ -352,7 +352,6 @@ struct UdpHeader {
#[cfg(test)]
mod tests {
use super::*;
use crate::packets::ip::v4::Ipv4;
use crate::packets::Ethernet;
use crate::testils::byte_arrays::{IPV4_TCP_PACKET, IPV4_UDP_PACKET};
use crate::Mbuf;