mirror of
https://github.com/netbirdio/netbird.git
synced 2026-08-24 16:41:30 +02:00
sweptConn embeds net.Conn, so it does not promote Protocol() from the concrete relay connection. Asserting transportConn on the wrapper always failed and left c.transport empty. Read the transport off the dialed connection first, then wrap it.