Merge pull request #115 from flashcatcloud/fix_snmp
fix switch_legacy bug
This commit is contained in:
commit
abc90e9118
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue