Report the version of snowflake to the Tor process

This commit is contained in:
meskio 2024-07-10 18:02:27 +02:00
parent ffdda1358a
commit 9e977fe6ca
No known key found for this signature in database
GPG key ID: 52B8F5AC97A2DA86
2 changed files with 2 additions and 0 deletions

View file

@ -263,6 +263,7 @@ func main() {
pt.ProxyDone() pt.ProxyDone()
} }
} }
pt.ReportVersion("snowflake", version.GetVersion())
listeners := make([]net.Listener, 0) listeners := make([]net.Listener, 0)
shutdown := make(chan struct{}) shutdown := make(chan struct{})
var wg sync.WaitGroup var wg sync.WaitGroup

View file

@ -180,6 +180,7 @@ func main() {
if err != nil { if err != nil {
log.Fatalf("error in setup: %s", err) log.Fatalf("error in setup: %s", err)
} }
pt.ReportVersion("snowflake", version.GetVersion())
go statsThread() go statsThread()