net/netmon: unexport GetState

Baby step towards #15408.

Updates #15408

Change-Id: I11fca6e677af2ad2f065d83aa0d83550143bff29
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2025-03-24 10:15:37 -07:00
committed by Brad Fitzpatrick
parent 5c0e08fbbd
commit 156cd53e77
3 changed files with 3 additions and 3 deletions

View File

@ -466,7 +466,7 @@ var getPAC func() string
// It does not set the returned State.IsExpensive. The caller can populate that.
//
// Deprecated: use netmon.Monitor.InterfaceState instead.
func GetState() (*State, error) {
func getState() (*State, error) {
s := &State{
InterfaceIPs: make(map[string][]netip.Prefix),
Interface: make(map[string]Interface),