our shortcut for waap events
This commit is contained in:
parent
685006508c
commit
dd49620922
1 changed files with 7 additions and 0 deletions
|
@ -22,6 +22,13 @@ LOOP:
|
|||
if !event.Process {
|
||||
continue
|
||||
}
|
||||
/*Waap is going to generate 2 events:
|
||||
- one that is treated as a log and can go to scenarios
|
||||
- another one that will go directly to LAPI*/
|
||||
if event.Type == types.WAAP {
|
||||
outputEventChan <- event
|
||||
continue
|
||||
}
|
||||
if event.Line.Module == "" {
|
||||
log.Errorf("empty event.Line.Module field, the acquisition module must set it ! : %+v", event.Line)
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue