mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2024-12-30 02:37:01 +00:00
Fix: deprecate rand.Seed
This commit is contained in:
@@ -11,10 +11,6 @@ import (
|
||||
"github.com/xjasonlyu/tun2socks/v2/common/pool"
|
||||
)
|
||||
|
||||
func init() {
|
||||
rand.Seed(time.Now().Unix())
|
||||
}
|
||||
|
||||
const (
|
||||
chunkSize = 1 << 14 // 2 ** 14 == 16 * 1024
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user