Skip to content

Commit 3f3a9e1

Browse files
authored
Merge pull request #6 from andrewbeard/master
Initial changes for Zeek compatability
2 parents 91d2787 + afc948b commit 3f3a9e1

7 files changed

Lines changed: 8 additions & 6 deletions

File tree

scripts/__load__.bro

Lines changed: 0 additions & 5 deletions
This file was deleted.

scripts/__load__.zeek

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#
2+
# This is loaded unconditionally at Zeek startup.
3+
#
4+
5+
@load ./init.zeek
File renamed without changes.

src/PF_RING.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "bro-config.h"
1+
#include "zeek-config.h"
22
#include "stdlib.h"
33

44
#include "PF_RING.h"

src/PF_RING.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
extern "C" {
77
#include <stdio.h>
88
#include <pfring.h>
9+
#include <pcap.h>
910
}
1011

1112
#include "iosource/PktSrc.h"

src/Plugin.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include "Plugin.h"
22
#include "PF_RING.h"
3+
#include "iosource/Component.h"
34

45
namespace plugin { namespace Bro_PF_RING { Plugin plugin; } }
56

File renamed without changes.

0 commit comments

Comments
 (0)