Skip to content

Commit be608d7

Browse files
committed
fix etherparse 0.21 build error
1 parent 4ba4951 commit be608d7

3 files changed

Lines changed: 19 additions & 14 deletions

File tree

Cargo.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ codegen-units = 1
3939

4040
[dependencies]
4141
async-channel = "2.5.0"
42-
clap = { version = "4.6.2", features = ["derive"] }
42+
clap = { version = "4.6.5", features = ["derive"] }
4343
confy = "2.0.0"
4444
ctrlc = { version = "3.5.2", features = ["termination"] }
4545
dns-lookup = "3.0.1"
46-
etherparse = "0.20.3"
46+
etherparse = "0.21.0"
4747
iced = { version = "0.14.0", features = ["tokio", "svg", "advanced", "lazy", "image"] }
4848
ipnet = "2.12.0"
4949
jiff = "0.2.35"
@@ -55,7 +55,7 @@ phf_shared = "0.14.0"
5555
picon = "0.1.0"
5656
plotters = { version = "0.3.7", default-features = false, features = ["area_series", "line_series"] }
5757
plotters-iced2 = "0.14.0"
58-
prefix-trie = { version = "0.9.4", features = ["ipnet"] }
58+
prefix-trie = { version = "0.10.1", features = ["ipnet"] }
5959
reqwest = { version = "0.13.4", features = ["json"] }
6060
rfd = "0.17.2"
6161
rodio = { version = "0.22.2", default-features = false, features = ["mp3", "playback"] }

src/networking/manage_packets.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,11 @@ fn analyze_transport_header(
200200
*icmp_type = IcmpTypeV6::from_etherparse(&icmpv6_header.icmp_type);
201201
true
202202
}
203+
Some(TransportHeader::Igmp(_)) => {
204+
#[allow(clippy::match_same_arms)]
205+
// TODO!
206+
false
207+
}
203208
None => false,
204209
}
205210
}

0 commit comments

Comments
 (0)