mirror of
https://github.com/safing/portmaster
synced 2025-09-04 11:39:29 +00:00
Implement review suggestion
This commit is contained in:
parent
9624995c6e
commit
a2aa20abb7
1 changed files with 2 additions and 2 deletions
|
@ -38,8 +38,8 @@ type TCPResolver struct {
|
||||||
type tcpResolverConn struct {
|
type tcpResolverConn struct {
|
||||||
// ctx is the context of the tcpResolverConn.
|
// ctx is the context of the tcpResolverConn.
|
||||||
ctx context.Context
|
ctx context.Context
|
||||||
// cancelCtx cancels cancelCtx
|
// cancelCtx cancels ctx
|
||||||
cancelCtx func()
|
cancelCtx context.CancelFunc
|
||||||
// id is the ID assigned to the resolver conn.
|
// id is the ID assigned to the resolver conn.
|
||||||
id int
|
id int
|
||||||
// conn is the connection to the DNS server.
|
// conn is the connection to the DNS server.
|
||||||
|
|
Loading…
Add table
Reference in a new issue