wgengine/netstack: fix connsOpenBySubnetIP comment

Signed-off-by: Naman Sood <mail@nsood.in>
This commit is contained in:
Naman Sood 2021-03-26 11:08:23 -04:00
parent cc5f96e2b4
commit f2c959055a

View File

@ -56,8 +56,10 @@ type Impl struct {
mu sync.Mutex
dns DNSMap
// connsOpenBySubnetIP keeps track of subnet IPs temporarily
// registered on netstack for active TCP connections.
// connsOpenBySubnetIP keeps track of number of connections open
// for each subnet IP temporarily registered on netstack for active
// TCP connections, so they can be unregistered when connections are
// closed.
connsOpenBySubnetIP map[netaddr.IP]int
}