This commit is contained in:
bluepython508 committed 2026-10-22 12:27:19 +01:00
1 parent 3530afb854
commit 6903fcff27
2146 files changed
+112256 -190703

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause
//go:build ts_omit_connreject
package tstun
import "tailscale.com/net/packet"
// connRejectState is the omit-build counterpart of the type in
// connreject.go. It is an empty struct so the Wrapper's connReject
// field exists in both builds without referencing
// tailscale.com/net/connreject.
type connRejectState struct{}
// notifyConnRejectTSMPSent is a no-op when the connreject feature is
// omitted at build time.
func (*Wrapper) notifyConnRejectTSMPSent(packet.TailscaleRejectedHeader) {}