wgengine: fix typo in Engine.PeerForIP (#5912)

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
(cherry picked from commit 49bae7fd5c)
net-audit-log/1.32
Joe Tsai 2 years ago committed by Brad Fitzpatrick
parent f7c15dd0b0
commit ccca9faaf8

@ -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.

Loading…
Cancel
Save