Skip to content

Commit

Permalink
aredn_compat: add WIREGUARD linkType
Browse files Browse the repository at this point in the history
  • Loading branch information
USA-RedDragon committed Feb 15, 2024
1 parent 2fc6665 commit 9e15bd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/server/api/controllers/v1/aredn_compat.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ func getLinkInfo() map[string]apimodels.LinkInfo {
linkType = "TUN"
} else if strings.HasPrefix(link.OLSRInterface, "eth") {
linkType = "DTD"
} else if strings.HasPrefix(link.OLSRInterface, "wg") {
linkType = "WIREGUARD"
} else {
linkType = "UNKNOWN"
}
Expand Down

0 comments on commit 9e15bd9

Please sign in to comment.