mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-25 19:56:46 +00:00
Add user-agent to cmd and UI when calling daemon
This commit is contained in:
@@ -23,3 +23,11 @@ type Info struct {
|
||||
func WiretrusteeVersion() string {
|
||||
return version
|
||||
}
|
||||
|
||||
func NetBirdDesktopUIUserAgent() string {
|
||||
return "netbird-desktop-ui/" + WiretrusteeVersion()
|
||||
}
|
||||
|
||||
func NetBirdCmdUserAgent() string {
|
||||
return "netbird-cmd/" + WiretrusteeVersion()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user