mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
Adding sleep time of 1 second if not waiting and code not present
This commit is contained in:
parent
eb3af56ccf
commit
798a0d2c52
1 changed files with 1 additions and 0 deletions
|
@ -210,6 +210,7 @@ func (c *Connection) runClient() error {
|
||||||
encryptedData, salt, iv, sendersAddress := m[0], m[1], m[2], m[3]
|
encryptedData, salt, iv, sendersAddress := m[0], m[1], m[2], m[3]
|
||||||
if sendersAddress == "0.0.0.0" {
|
if sendersAddress == "0.0.0.0" {
|
||||||
notPresent = true
|
notPresent = true
|
||||||
|
time.Sleep(1 * time.Second)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
encryptedBytes, err := hex.DecodeString(encryptedData)
|
encryptedBytes, err := hex.DecodeString(encryptedData)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue