cmd/tailscale: fix a panic in netcheck portmapper construction (#16843)

This affects the 1.87.33 unstable release.

Updates #16842
Updates #15160

Change-Id: Ie6d1b2c094d1a6059fbd1023760567900f06e0ad
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
pull/16851/head
M. J. Fromberger 4 months ago committed by GitHub
parent cde65dba16
commit ee0c7b05a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -61,6 +61,7 @@ func runNetcheck(ctx context.Context, args []string) error {
pm := portmapper.NewClient(portmapper.Config{
Logf: logf,
NetMon: netMon,
EventBus: bus,
})
defer pm.Close()

Loading…
Cancel
Save