sid random 수정

main
JungJun 2 years ago
parent dfa38338c9
commit b3afe0e5e2

@ -171,7 +171,7 @@ func StatsCommandVG(t *icsnet.IcsTCPNet, bufend string) {
// s := GetIcsSid() // s := GetIcsSid()
rand.Seed(time.Now().UnixNano()) rand.Seed(time.Now().UnixNano())
randNum := fmt.Sprintf("%07d", rand.Intn(1000000)) randNum := fmt.Sprintf("%07d", rand.Intn(10000000))
// randNum := fmt.Sprintf("%07d", rand.Intn(9999999)) // randNum := fmt.Sprintf("%07d", rand.Intn(9999999))
// defer func() { // defer func() {
@ -284,7 +284,7 @@ func StatsCommandVA(t *icsnet.IcsTCPNet, bufend string) {
// s := GetIcsSid() // s := GetIcsSid()
rand.Seed(time.Now().UnixNano()) rand.Seed(time.Now().UnixNano())
randNum := fmt.Sprintf("%07d", rand.Intn(1000000)) randNum := fmt.Sprintf("%07d", rand.Intn(10000000))
// randNum := fmt.Sprintf("%04d", rand.Intn(9999)) // randNum := fmt.Sprintf("%04d", rand.Intn(9999))
defer t.Close() defer t.Close()

Loading…
Cancel
Save