diff options
Diffstat (limited to 'broccoli/src')
-rw-r--r-- | broccoli/src/broevent.c | 4 | ||||
-rw-r--r-- | broccoli/src/midbro.c (renamed from broccoli/src/midbropasad.c) | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/broccoli/src/broevent.c b/broccoli/src/broevent.c index 206ce17..362ed5e 100644 --- a/broccoli/src/broevent.c +++ b/broccoli/src/broevent.c @@ -9,7 +9,7 @@ char *port_default = "47760"; Fifo_q * q; static void -pasad_register_received(BroConn *conn, void *data, BroRecord *record) +modbus_register_received(BroConn *conn, void *data, BroRecord *record) { int type = BRO_TYPE_COUNT; uint64 *address = NULL; @@ -56,7 +56,7 @@ bro_event_listener(void * args) bro_debug_messages = 0; bro_event_registry_add(bc, "pasad_register_received", - (BroEventFunc) pasad_register_received, NULL); + (BroEventFunc) modbus_register_received, NULL); if (! bro_conn_connect(bc)) { diff --git a/broccoli/src/midbropasad.c b/broccoli/src/midbro.c index a745091..6c83207 100644 --- a/broccoli/src/midbropasad.c +++ b/broccoli/src/midbro.c @@ -2,6 +2,7 @@ #include <unistd.h> #include "fifoqueue.h" #include "broevent.h" +#include "midbro.h" #ifdef BROCCOLI #include <broccoli.h> #endif |