Skip to content

Commit

Permalink
Keep the same UDP socket when restarting for Retry or VN packets
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiraux committed Jun 7, 2022
1 parent f76287e commit a1373dd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions agents/base_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@ func AttachAgentsToConnection(conn *Connection, agents ...Agent) *ConnectionAgen
a.Join()
}
conn.ConnectionRestart = make(chan bool, 1)
conn.UdpConnection.Close()
conn.UdpConnection, _ = EstablishUDPConnection(conn.Host)
for _, a := range agents {
a.Run(conn)
}
Expand Down

0 comments on commit a1373dd

Please sign in to comment.