From f1727bcf522757ae971de4b88374ab5035252a9f Mon Sep 17 00:00:00 2001 From: sndyuk Date: Wed, 7 Jun 2023 20:26:21 +0900 Subject: [PATCH] Trivial fix --- network/src/inbound.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/src/inbound.rs b/network/src/inbound.rs index 20b0093..035dfed 100644 --- a/network/src/inbound.rs +++ b/network/src/inbound.rs @@ -260,7 +260,7 @@ async fn listen_inbound_incomming( #[cfg(target_os = "linux")] &[0x00, 0x00, 0x08, 0x00], // libc::ETH_P_IP #[cfg(target_os = "macos")] - &[0x00, 0x00, 0x08, 0x02], // libc::PF_INET + &[0x00, 0x00, 0x00, 0x02], // libc::PF_INET tcpip_packet.payload().as_ref(), ] .concat(),