From 14dfc4e3e1925fcc3d303100c44ef4c321427c6b Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 6 Jun 2019 15:44:29 +0200 Subject: global: cleanup TODO comment spacing --- tunnel/ifaceconfig.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tunnel/ifaceconfig.go') diff --git a/tunnel/ifaceconfig.go b/tunnel/ifaceconfig.go index 2cc90e79..a71b612e 100644 --- a/tunnel/ifaceconfig.go +++ b/tunnel/ifaceconfig.go @@ -25,7 +25,7 @@ func cleanupAddressesOnDisconnectedInterfaces(addresses []net.IPNet) { return } includedInAddresses := func(a net.IPNet) bool { - //TODO: this makes the whole algorithm O(n^2). But we can't stick net.IPNet in a Go hashmap. Bummer! + // TODO: this makes the whole algorithm O(n^2). But we can't stick net.IPNet in a Go hashmap. Bummer! for _, addr := range addresses { ip := addr.IP if ip4 := ip.To4(); ip4 != nil { @@ -226,7 +226,7 @@ func enableFirewall(conf *conf.Config, tun *tun.NativeTun) error { } func waitForFamilies(tun *tun.NativeTun) { - //TODO: This whole thing is a disgusting hack that shouldn't be neccessary. + // TODO: This whole thing is a disgusting hack that shouldn't be neccessary. f := func(luid winipcfg.LUID, family winipcfg.AddressFamily, maxRetries int) { for i := 0; i < maxRetries; i++ { -- cgit v1.2.3-59-g8ed1b