Browse Source

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

fix(tcp): add missing feature to test
Thibaut Vandervelden 1 year ago
parent
commit
c647a32e78
1 changed files with 1 additions and 1 deletions
  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};