From 1a32c2b5d963c10619ee75b5716d8d711242c5ca Mon Sep 17 00:00:00 2001 From: Petr Osetrov Date: Tue, 9 Jun 2026 16:57:54 +0300 Subject: [PATCH] fix: inversion of IsSet() in ClientHelloID --- u_common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/u_common.go b/u_common.go index a9f90f75e3..b508f6baa2 100644 --- a/u_common.go +++ b/u_common.go @@ -158,7 +158,7 @@ func (p *ClientHelloID) Str() string { } func (p *ClientHelloID) IsSet() bool { - return (p.Client == "") && (p.Version == "") + return p.Client != "" || p.Version != "" } const (