aboutsummaryrefslogtreecommitdiff
path: root/broccoli/src/broevent.c
diff options
context:
space:
mode:
authorRobert Gustafsson <robg@student.chalmers.se>2017-10-14 11:18:03 +0200
committerRobert Gustafsson <robg@student.chalmers.se>2017-10-14 11:18:03 +0200
commitd12ef314dfcd9bafd370669fc47e5ee443767b28 (patch)
treeb8e8ecfca859d1adedbc783d4a936b91cd25c074 /broccoli/src/broevent.c
parent89d12d836a0e34d7d2c55a1f96d947de48933813 (diff)
downloadmidbro-d12ef314dfcd9bafd370669fc47e5ee443767b28.tar.gz
midbro-d12ef314dfcd9bafd370669fc47e5ee443767b28.tar.bz2
Rename midbropasad -> midbro in C impl..
* files in script/ are not changed
Diffstat (limited to 'broccoli/src/broevent.c')
-rw-r--r--broccoli/src/broevent.c4
1 files changed, 2 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))
{