wgengine, wgengine/filter: minor doc, style, performance, locking changes

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2020-03-25 08:40:36 -07:00
parent 6284454ae5
commit 2e420ad8b6
3 changed files with 29 additions and 10 deletions

View File

@ -101,7 +101,7 @@ type Engine interface {
// sends an updated network map.
Reconfig(cfg *wgcfg.Config, dnsDomains []string) error
// GetFilter returns the current packet filter, if any
// GetFilter returns the current packet filter, if any.
GetFilter() *filter.Filter
// SetFilter updates the packet filter.