mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
wgengine: fix typo in Engine.PeerForIP (#5912)
Signed-off-by: Joe Tsai <joetsai@digital-static.net>
This commit is contained in:
parent
5363a90272
commit
49bae7fd5c
@ -79,7 +79,7 @@ type Engine interface {
|
|||||||
Reconfig(*wgcfg.Config, *router.Config, *dns.Config, *tailcfg.Debug) error
|
Reconfig(*wgcfg.Config, *router.Config, *dns.Config, *tailcfg.Debug) error
|
||||||
|
|
||||||
// PeerForIP returns the node to which the provided IP routes,
|
// 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)
|
PeerForIP(netip.Addr) (_ PeerForIP, ok bool)
|
||||||
|
|
||||||
// GetFilter returns the current packet filter, if any.
|
// GetFilter returns the current packet filter, if any.
|
||||||
|
Loading…
Reference in New Issue
Block a user