From b3afe0e5e248c02a315b87297c680c34b758d733 Mon Sep 17 00:00:00 2001 From: JungJun Date: Wed, 17 Aug 2022 11:58:41 +0900 Subject: [PATCH] =?UTF-8?q?sid=20random=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- icsstat/icsstat.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icsstat/icsstat.go b/icsstat/icsstat.go index 134691e..956391f 100644 --- a/icsstat/icsstat.go +++ b/icsstat/icsstat.go @@ -171,7 +171,7 @@ func StatsCommandVG(t *icsnet.IcsTCPNet, bufend string) { // s := GetIcsSid() 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)) // defer func() { @@ -284,7 +284,7 @@ func StatsCommandVA(t *icsnet.IcsTCPNet, bufend string) { // s := GetIcsSid() 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)) defer t.Close()