From 49bae7fd5cbf5dc82bb99a06c9e4c7586d60f730 Mon Sep 17 00:00:00 2001 From: Joe Tsai Date: Wed, 12 Oct 2022 14:14:22 -0700 Subject: [PATCH] wgengine: fix typo in Engine.PeerForIP (#5912) Signed-off-by: Joe Tsai --- wgengine/wgengine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgengine/wgengine.go b/wgengine/wgengine.go index 437249b36..1bee017d2 100644 --- a/wgengine/wgengine.go +++ b/wgengine/wgengine.go @@ -79,7 +79,7 @@ type Engine interface { Reconfig(*wgcfg.Config, *router.Config, *dns.Config, *tailcfg.Debug) error // PeerForIP returns the node to which the provided IP routes, - // if any. If none is found, (nil, nil) is returned. + // if any. If none is found, (nil, false) is returned. PeerForIP(netip.Addr) (_ PeerForIP, ok bool) // GetFilter returns the current packet filter, if any.