Skip to content

Commit

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

ret[ips[0].String()] = apimodels.LinkInfo{
Expand Down

0 comments on commit f1058c7

Please sign in to comment.