![]() This is a follow up on PR #8172 and a breaking change that allows NewPoller to take an options struct. The issue with the previous PR was that NewPoller immediately initializes the underlying os implementation and therefore setting IncludeLocalhost as an exported field happened too late and cannot happen early enough. Using the zero value of Poller was also not an option from outside of the package because we need to set initial private fields Fixes #8171 Signed-off-by: Marwan Sulaiman <marwan@tailscale.com> |
||
---|---|---|
.. | ||
clean.go | ||
clean_test.go | ||
netstat.go | ||
netstat_test.go | ||
poller.go | ||
portlist.go | ||
portlist_linux.go | ||
portlist_linux_test.go | ||
portlist_macos.go | ||
portlist_test.go | ||
portlist_windows.go |