wgengine/magicsock: add docstring.

Signed-off-by: David Anderson <[email protected]>
This commit is contained in:
David Anderson authored and Dave Anderson committed 2020-07-27 14:09:54 -07:00
1 parent 9265296b33
commit b62341d308
1 file changed
+4
+4
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()