summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-06-07 01:37:01 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-06-07 01:37:01 -0600
commitd6de6f3ce6c24841d29b563d3283a0fd85e437ac (patch)
treed0b8e6a06d5ffb3cd300095c46b9b32087fba17d
parent59e556f24ec7503eda8ff15f026b2df44e096b6f (diff)
conn: remove useless comment
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--conn/conn_default.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/conn/conn_default.go b/conn/conn_default.go
index 96ef137..8be3c9d 100644
--- a/conn/conn_default.go
+++ b/conn/conn_default.go
@@ -73,7 +73,6 @@ func listenNet(network string, port int) (*net.UDPConn, int, error) {
}
// Retrieve port.
- // TODO(crawshaw): under what circumstances is this necessary?
laddr := conn.LocalAddr()
uaddr, err := net.ResolveUDPAddr(
laddr.Network(),