自动开启服务器转发和NAT开关,更新xorm解决升级anylink后mysql无法同步表的问题

This commit is contained in:
wsczx
2022-11-21 03:49:08 +00:00
parent ae7fe993f7
commit 42de009e30
5 changed files with 146 additions and 31 deletions

View File

@@ -61,6 +61,7 @@ var configs = []config{
{Typ: cfgInt, Name: "audit_interval", Usage: "审计去重间隔(秒),-1关闭", ValInt: -1},
{Typ: cfgBool, Name: "show_sql", Usage: "显示sql语句用于调试", ValBool: false},
{Typ: cfgBool, Name: "iptables_nat", Usage: "是否自动添加NAT", ValBool: false},
}
var envs = map[string]string{}