瀏覽代碼

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

fix(tcp): add missing feature to test
Thibaut Vandervelden 1 年之前
父節點
當前提交
c647a32e78
共有 1 個文件被更改,包括 1 次插入1 次删除
  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};