Libpcap support and vairous bugfixes

Merge #260
This commit is contained in:
Leonid Bugaev
2016-04-29 14:48:17 +05:00
parent 00feb08165
commit afc8f7852e
19 changed files with 485 additions and 145 deletions
+6 -1
View File
@@ -79,8 +79,13 @@ func InitPlugins() {
registerPlugin(NewDummyOutput, options)
}
engine := EnginePcap
if Settings.inputRAWEngine == "raw_socket" {
engine = EngineRawSocket
}
for _, options := range Settings.inputRAW {
registerPlugin(NewRAWInput, options, time.Duration(0))
registerPlugin(NewRAWInput, engine, options, time.Duration(0))
}
for _, options := range Settings.inputTCP {