summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--internal/http/http.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/http/http.go b/internal/http/http.go
index 536a9c3..4d8f3bc 100644
--- a/internal/http/http.go
+++ b/internal/http/http.go
@@ -264,6 +264,6 @@ func (e *StatusError) Error() string {
}
// RegisterAgent registers the user agent for client and version
-func RegisterAgent(client string, version string) {
- UserAgent = fmt.Sprintf("%s/%s %s", client, version, "eduvpn-common/2.0.0")
+func RegisterAgent(client string, verApp string) {
+ UserAgent = fmt.Sprintf("%s/%s eduvpn-common/%s", client, verApp, version.Version)
}