From b795f3cf04d4399d2a3aeb83961d57c804232875 Mon Sep 17 00:00:00 2001 From: maze Date: Thu, 9 Oct 2025 15:36:24 +0200 Subject: [PATCH] Bugfix: Both should also include Both --- protocol/detect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/detect.go b/protocol/detect.go index b05179b..de9fd2e 100644 --- a/protocol/detect.go +++ b/protocol/detect.go @@ -45,7 +45,7 @@ func (dir Direction) Contains(other Direction) bool { case Server: return other == Server || other == Both case Both: - return other == Client || other == Server + return other == Client || other == Server || other == Both default: return false }