From be9c05fbc904fd7c62f4ae1b90c021ee403cc0eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Thu, 5 Oct 2023 17:02:25 +0200 Subject: [PATCH] Reexport IpListenEndpoint for TCP --- embassy-net/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-net/src/lib.rs b/embassy-net/src/lib.rs index 0d7ac47a2..c5fe08ab1 100644 --- a/embassy-net/src/lib.rs +++ b/embassy-net/src/lib.rs @@ -39,7 +39,7 @@ use smoltcp::socket::dhcpv4::{self, RetryConfig}; pub use smoltcp::wire::EthernetAddress; #[cfg(any(feature = "medium-ethernet", feature = "medium-ieee802154", feature = "medium-ip"))] pub use smoltcp::wire::HardwareAddress; -#[cfg(feature = "udp")] +#[cfg(any(feature = "udp", feature = "tcp"))] pub use smoltcp::wire::IpListenEndpoint; #[cfg(feature = "medium-ieee802154")] pub use smoltcp::wire::{Ieee802154Address, Ieee802154Frame};