Alex Cheema 8 tháng trước cách đây
mục cha
commit
22e4bc23bb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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