Update etherparse dependency to v0.14.2

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
This commit is contained in:
Lee Smet committed 2024-03-11 14:01:00 +01:00
1 parent 2126982291
commit b6a2aefc2f
3 files changed
+6 -6

No files matched your search

Generated
+2 -2
View File
@@ -508,9 +508,9 @@ dependencies = [
[[package]]
name = "etherparse"
version = "0.13.0"
version = "0.14.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "827292ea592108849932ad8e30218f8b1f21c0dfd0696698a18b5d0aed62d990"
checksum = "24890603eb4b43aa788f02261ce21714449033e3e2ab93692f0ab18480c3c9b1"
dependencies = [
"arrayvec",
]
+1 -1
View File
@@ -54,7 +54,7 @@ reqwest = { version = "0.11.22", default-features = false, features = [
"tokio-rustls",
"json",
] }
etherparse = "0.13.0"
etherparse = "0.14.2"
quinn = { version = "0.10.2", default-features = false, features = [
"runtime-tokio",
"rustls",
+3 -3
View File
@@ -342,9 +342,9 @@ impl DataPlane {
continue;
};
let (_, _, body) =
etherparse::IpHeader::from_slice(&real_packet[16..]).unwrap();
let (header, body) = etherparse::Icmpv6Header::from_slice(body).unwrap();
let (_, body) = etherparse::IpHeaders::from_slice(&real_packet[16..]).unwrap();
let (header, body) =
etherparse::Icmpv6Header::from_slice(body.payload).unwrap();
// Where are the leftover bytes coming from
let orig_pb = match key.decrypt(body[..body.len()].to_vec()) {