Skip to content

Commit 5720873

Browse files
committed
fix(client): log version on startup + add revoke alias for logout
- Print `[+] arena-byoc <version>` at tunnel start so version is visible in logs without running `arena-byoc version`. - `arena-byoc revoke` now works as alias for `logout` (was silently falling through to tunnel mode).
1 parent 97955f5 commit 5720873

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

client/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ func runConnect(ctx context.Context, rf *rootFlags, cfg *Config) int {
537537
}
538538
defer teardownTUN()
539539

540+
log.Printf("[+] arena-byoc %s", version)
540541
log.Printf("[+] WG up: tunnelIP=%s server=%s local-udp-port=%d", cfg.TunnelIP, host, localPort)
541542
if cfg.UserEmail != "" {
542543
log.Printf("[+] identity: %s", cfg.UserEmail)

0 commit comments

Comments
 (0)