Skip to content

Commit

Permalink
Merge pull request Psiphon-Labs#716 from adam-p/windows-iftypes
Browse files Browse the repository at this point in the history
add more WIRED ifTypes
  • Loading branch information
rod-hynes authored Dec 16, 2024
2 parents 36a4b87 + 329d4d9 commit 9971168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psiphon/common/networkid/networkid_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9971168

Please sign in to comment.