Explorar o código

Merge pull request #872 from thvdveld/fix-tcp-test

fix(tcp): add missing feature to test
Thibaut Vandervelden hai 1 ano
pai
achega
c647a32e78
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/iface/interface/tests/mod.rs

+ 1 - 1
src/iface/interface/tests/mod.rs

@@ -149,7 +149,7 @@ fn test_handle_udp_broadcast(
 }
 
 #[test]
-#[cfg(all(feature = "socket-tcp", feature = "proto-ipv6"))]
+#[cfg(all(feature = "medium-ip", feature = "socket-tcp", feature = "proto-ipv6"))]
 pub fn tcp_not_accepted() {
     use crate::iface::ip_packet::{IpPacket, IpPayload, Ipv6Packet};