Explorar el Código

add more WIRED ifTypes

Adam Pritchard hace 1 año
padre
commit
329d4d9d05
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      psiphon/common/networkid/networkid_windows.go

+ 1 - 1
psiphon/common/networkid/networkid_windows.go

@@ -170,7 +170,7 @@ func getConnectionType(ifType winipcfg.IfType, description string) string {
 	var connectionType string
 
 	switch ifType {
-	case winipcfg.IfTypeEthernetCSMACD:
+	case winipcfg.IfTypeEthernetCSMACD, winipcfg.IfTypeEthernet3Mbit, winipcfg.IfTypeFastether, winipcfg.IfTypeFastetherFX, winipcfg.IfTypeGigabitethernet, winipcfg.IfTypeIEEE80212, winipcfg.IfTypeDigitalpowerline:
 		connectionType = "WIRED"
 	case winipcfg.IfTypeIEEE80211:
 		connectionType = "WIFI"