Browse Source

Merge pull request #540 from exo-explore/macosnetwork

fix
Alex Cheema 7 tháng trước cách đây
mục cha
commit
c2a2aeb7b5
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