mirror of
https://github.com/fosrl/newt.git
synced 2026-03-06 10:46:40 +00:00
Add log message
This commit is contained in:
1
util.go
1
util.go
@@ -119,7 +119,6 @@ func pingWithRetry(tnet *netstack.Net, dst string, timeout time.Duration) (stopC
|
|||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
case <-stopChan:
|
case <-stopChan:
|
||||||
logger.Info("Stopping pingWithRetry goroutine")
|
|
||||||
return
|
return
|
||||||
default:
|
default:
|
||||||
logger.Info("Ping attempt %d", attempt)
|
logger.Info("Ping attempt %d", attempt)
|
||||||
|
|||||||
Reference in New Issue
Block a user