mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-01 09:32:08 +00:00
all: fix spelling mistakes
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
e73657d7aa
commit
d4811f11a0
@@ -25,7 +25,7 @@ type Clock struct {
|
||||
sync.Mutex
|
||||
}
|
||||
|
||||
// Now returns the virtual clock's current time, and avances it
|
||||
// Now returns the virtual clock's current time, and advances it
|
||||
// according to its step configuration.
|
||||
func (c *Clock) Now() time.Time {
|
||||
c.Lock()
|
||||
|
||||
@@ -53,7 +53,7 @@ import (
|
||||
`)
|
||||
for _, dep := range x.Imports {
|
||||
if !strings.Contains(dep, ".") {
|
||||
// Omit stanard library deps.
|
||||
// Omit standard library deps.
|
||||
continue
|
||||
}
|
||||
fmt.Fprintf(&out, "\t_ %q\n", dep)
|
||||
|
||||
@@ -463,7 +463,7 @@ func (s *Server) serveRegister(w http.ResponseWriter, r *http.Request, mkey key.
|
||||
case <-doneCh:
|
||||
}
|
||||
// TODO(bradfitz): support a side test API to mark an
|
||||
// auth as failued so we can send an error response in
|
||||
// auth as failed so we can send an error response in
|
||||
// some follow-ups? For now all are successes.
|
||||
}
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ let
|
||||
|
||||
# The path on disk to the "source code" of the package, in this case it is
|
||||
# the path to the binaries that are built. This needs to be the raw
|
||||
# unquoted slash-separated path, not a string contaning the path because Nix
|
||||
# unquoted slash-separated path, not a string containing the path because Nix
|
||||
# has a special path type.
|
||||
src = {{.BinPath}};
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ func TestMITMProxy(t *testing.T) {
|
||||
// - The first thing we do is append the nsslcrtd_program stanza to the config.
|
||||
// This must be an absolute path and is based on the nix path of the squid derivation,
|
||||
// so we compute and write it out here.
|
||||
// - Squid expects a pre-initalized directory layout, so we create that in /tmp/squid then
|
||||
// - Squid expects a pre-initialized directory layout, so we create that in /tmp/squid then
|
||||
// invoke squid with -z to have it fill in the rest.
|
||||
// - Doing a meddler-in-the-middle attack requires using some fake keys, so we create
|
||||
// them using openssl and then use the security_file_certgen tool to setup squids' ssl_db.
|
||||
|
||||
@@ -92,7 +92,7 @@ func mustPrefix(s string) netip.Prefix {
|
||||
func NewInternet() *Network {
|
||||
return &Network{
|
||||
Name: "internet",
|
||||
// easily recognizable internett-y addresses
|
||||
// easily recognizable internetty addresses
|
||||
Prefix4: mustPrefix("1.0.0.0/24"),
|
||||
Prefix6: mustPrefix("1111::/64"),
|
||||
}
|
||||
@@ -243,7 +243,7 @@ func (f *Interface) String() string {
|
||||
if f.name != "" {
|
||||
return f.name
|
||||
}
|
||||
return fmt.Sprintf("unamed-interface-on-network-%p", f.net)
|
||||
return fmt.Sprintf("unnamed-interface-on-network-%p", f.net)
|
||||
}
|
||||
|
||||
// Contains reports whether f contains ip as an IP.
|
||||
|
||||
Reference in New Issue
Block a user