wgengine/magicsock: add docstring.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson 2020-07-27 20:33:09 +00:00 committed by Dave Anderson
parent 9265296b33
commit b62341d308

View File

@ -766,6 +766,10 @@ func newPinger(t *testing.T, logf logger.Logf, src, dst *magicStack) (cleanup fu
return cleanup
}
// testActiveDiscovery verifies that two magicStacks tied to the given
// devices can establish a direct p2p connection with each other. See
// TestActiveDiscovery for the various configurations of devices that
// get exercised.
func testActiveDiscovery(t *testing.T, d *devices) {
tstest.PanicOnLog()
rc := tstest.NewResourceCheck()