This commit is contained in:
evilsocket 2018-02-01 21:28:19 +01:00
commit 80bbd2a0a0
3 changed files with 3 additions and 3 deletions

View file

@ -275,7 +275,7 @@ func (s *Session) Start() error {
addr := event.IP.String()
mac := event.MAC.String()
existing := s.Targets.AddIfNotExist(addr, mac)
existing := s.Targets.AddIfNew(addr, mac)
if existing != nil {
existing.LastSeen = time.Now()
}