sleeping
This commit is contained in:
2
main.go
2
main.go
@@ -9,6 +9,7 @@ import (
|
|||||||
"os/exec"
|
"os/exec"
|
||||||
"runtime"
|
"runtime"
|
||||||
"strings"
|
"strings"
|
||||||
|
"time"
|
||||||
|
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
@@ -76,6 +77,7 @@ func openCapture(tInfo *targetInfo) *pcap.Handle {
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
return handle
|
return handle
|
||||||
}
|
}
|
||||||
|
time.Sleep(5 * time.Second)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user