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

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
pull/5867/head
Joe Tsai 2 years ago committed by GitHub
parent 5363a90272
commit 49bae7fd5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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