repos / pico

pico services mono repo
git clone https://github.com/picosh/pico.git

commit
3af6c98
parent
042e4a4
author
Antonio Mika
date
2025-03-21 16:37:32 -0400 EDT
Fix sni events
1 files changed,  +1, -1
M pkg/apps/auth/api.go
+1, -1
1@@ -748,7 +748,7 @@ func tunsEventLogDrainSub(ctx context.Context, dbpool db.DB, logger *slog.Logger
2 				continue
3 			}
4 
5-			if log.TunnelType == "tcp" {
6+			if log.TunnelType == "tcp" || log.TunnelType == "sni" {
7 				newID, err := shared.ParseTunsTCP(log.TunnelID, log.ServerID)
8 				if err != nil {
9 					logger.Error("could not parse tunnel ID", "err", err)