assorted: documentation and readability fixes

This were intended to be pushed to #4408, but in my excitement I
forgot to git push :/ better late than never.

Signed-off-by: Tom DNetto <tom@tailscale.com>
This commit is contained in:
Tom DNetto
2022-04-30 16:13:18 -07:00
committed by Tom
parent 9e77660931
commit 7f45734663
4 changed files with 13 additions and 13 deletions

View File

@ -39,12 +39,12 @@ func TestInjectInboundLeak(t *testing.T) {
if !ok {
t.Fatal("not an InternalsGetter")
}
tunWrap, magicSock, d, ok := ig.GetInternals()
tunWrap, magicSock, dns, ok := ig.GetInternals()
if !ok {
t.Fatal("failed to get internals")
}
ns, err := Create(logf, tunWrap, eng, magicSock, dialer, d)
ns, err := Create(logf, tunWrap, eng, magicSock, dialer, dns)
if err != nil {
t.Fatal(err)
}