misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-03-14 01:13:31 +01:00
commit 7cf10ec0c7
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -192,7 +192,7 @@ func (s *EventsStream) View(e session.Event, refresh bool) {
s.viewModuleEvent(e)
} else if strings.HasPrefix(e.Tag, "net.sniff.") {
s.viewSnifferEvent(e)
} else if strings.HasPrefix(e.Tag, "syn.scan") {
} else if e.Tag == "syn.scan" {
s.viewSynScanEvent(e)
} else if e.Tag == "update.available" {
s.viewUpdateEvent(e)