Merge pull request #115 from flashcatcloud/fix_snmp

fix switch_legacy bug
This commit is contained in:
ulricqin 2022-07-22 20:27:10 +08:00 committed by GitHub
commit abc90e9118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -579,12 +579,9 @@ func (ins *Instance) gatherFlowMetrics(ips []string, slist *list.SafeList) {
}
}
}
// update lastifmap
ins.lastifmap.Set(ip, stats)
}
ins.lastifmap.Set(ip, stats)
}
}
func (ins *Instance) ifstat(wg *sync.WaitGroup, sema *semaphore.Semaphore, ip string, result cmap.ConcurrentMap) {