Alex Cheema 5 月之前
父节点
当前提交
22e4bc23bb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      exo/helpers.py

+ 1 - 1
exo/helpers.py

@@ -260,7 +260,7 @@ async def get_macos_interface_type(ifname: str) -> Optional[Tuple[int, str]]:
           return (5, "Thunderbolt/10GbE")
 
         # Ethernet adapters
-        if 'Ethernet Adapter' in hw_port:
+        if 'Ethernet' in hw_port:
           return (4, "Ethernet")
 
         # WiFi