mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-09 13:01:40 +08:00
优化代码,为后续手动管理锁定状态做准备
This commit is contained in:
@@ -17,7 +17,7 @@ func Start() {
|
||||
sessdata.Start()
|
||||
cron.Start()
|
||||
|
||||
initAntiBruteForce() //初始化防爆破定时器和IP白名单
|
||||
admin.InitLockManager() //初始化防爆破定时器和IP白名单
|
||||
|
||||
// 开启服务器转发
|
||||
err := execCmd([]string{"sysctl -w net.ipv4.ip_forward=1"})
|
||||
|
Reference in New Issue
Block a user