all: rename variables with lowercase-l/uppercase-I

See http://go/no-ell

Signed-off-by: Alex Chan <alexc@tailscale.com>

Updates #cleanup

Change-Id: I8c976b51ce7a60f06315048b1920516129cc1d5d
This commit is contained in:
Alex Chan
2025-11-17 18:13:44 +00:00
committed by Alex Chan
parent 9048ea25db
commit c2e474e729
81 changed files with 923 additions and 923 deletions

View File

@@ -184,14 +184,14 @@ type ipMapping struct {
// it is difficult to be 100% sure. This function should be used with care. It
// will probably do what you want, but it is very easy to hold this wrong.
func getProbablyFreePortNumber() (int, error) {
l, err := net.Listen("tcp", ":0")
ln, err := net.Listen("tcp", ":0")
if err != nil {
return 0, err
}
defer l.Close()
defer ln.Close()
_, port, err := net.SplitHostPort(l.Addr().String())
_, port, err := net.SplitHostPort(ln.Addr().String())
if err != nil {
return 0, err
}