From 25cec94e3953c6bd323305a029363f7bef2c5efd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 02:52:09 +0000 Subject: [PATCH] build(deps): bump socket2 from 0.5.7 to 0.5.8 Bumps [socket2](https://github.com/rust-lang/socket2) from 0.5.7 to 0.5.8. - [Release notes](https://github.com/rust-lang/socket2/releases) - [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/socket2/commits) --- updated-dependencies: - dependency-name: socket2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- crates/trippy-core/src/net/platform/unix.rs | 2 +- crates/trippy-core/src/net/platform/windows.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b0239ffcf..aec61cd27 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2084,9 +2084,9 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "socket2" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" +checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" dependencies = [ "libc", "windows-sys 0.52.0", diff --git a/Cargo.toml b/Cargo.toml index d337e4ab6..32b7ab3f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,7 +66,7 @@ serde = { version = "1.0.201", default-features = false } serde_json = { version = "1.0.117", default-features = false } serde_with = { version = "3.11.0", default-features = false, features = ["macros"] } serde_yml = "0.0.12" -socket2 = "0.5.7" +socket2 = "0.5.8" strum = { version = "0.26.3", default-features = false } sys-locale = "0.3.2" test-case = "3.3.1" diff --git a/crates/trippy-core/src/net/platform/unix.rs b/crates/trippy-core/src/net/platform/unix.rs index 54da4738c..70eee69ed 100644 --- a/crates/trippy-core/src/net/platform/unix.rs +++ b/crates/trippy-core/src/net/platform/unix.rs @@ -356,7 +356,7 @@ mod socket { #[instrument(skip(self))] fn set_header_included(&mut self, included: bool) -> IoResult<()> { self.inner - .set_header_included(included) + .set_header_included_v4(included) .map_err(|err| IoError::Other(err, IoOperation::SetHeaderIncluded)) } #[instrument(skip(self))] diff --git a/crates/trippy-core/src/net/platform/windows.rs b/crates/trippy-core/src/net/platform/windows.rs index 48a5f0288..26fdf06fa 100644 --- a/crates/trippy-core/src/net/platform/windows.rs +++ b/crates/trippy-core/src/net/platform/windows.rs @@ -433,7 +433,7 @@ impl Socket for SocketImpl { #[instrument(skip(self))] fn set_header_included(&mut self, is_header_included: bool) -> IoResult<()> { self.inner - .set_header_included(is_header_included) + .set_header_included_v4(is_header_included) .map_err(|err| IoError::Other(err, IoOperation::SetHeaderIncluded)) }