mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-07 23:04:17 +08:00
修改审计参数
This commit is contained in:
@@ -186,10 +186,14 @@ func (s *Session) NewConn() *ConnSession {
|
||||
PayloadIn: make(chan *Payload, 64),
|
||||
PayloadOutCstp: make(chan *Payload, 64),
|
||||
PayloadOutDtls: make(chan *Payload, 64),
|
||||
IpAuditMap: make(map[string]int64, 512),
|
||||
dSess: &atomic.Value{},
|
||||
}
|
||||
|
||||
// ip 审计
|
||||
if base.Cfg.AuditInterval >= 0 {
|
||||
cSess.IpAuditMap = make(map[string]int64, 512)
|
||||
}
|
||||
|
||||
dSess := &DtlsSession{
|
||||
isActive: -1,
|
||||
}
|
||||
|
Reference in New Issue
Block a user