修复测试用例

This commit is contained in:
bjdgyc 2021-04-10 14:42:00 +08:00
parent c98cacc242
commit dd32bd4899
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ func preData(tmpDir string) {
tmpDb := path.Join(tmpDir, "test.db")
base.Cfg.DbFile = tmpDb
base.Cfg.Ipv4CIDR = "192.168.3.0/24"
base.Cfg.Ipv4Pool = []string{"192.168.3.1", "192.168.3.199"}
base.Cfg.Ipv4Start = "192.168.3.1"
base.Cfg.Ipv4End = "192.168.3.199"
base.Cfg.MaxClient = 100
base.Cfg.MaxUserClient = 3