aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml4
-rw-r--r--src/lib/protocols/cassandra.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d8d69344b..8e3abfc6b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -23,6 +23,10 @@ jobs:
run: ./tests/do.sh
- name: Test UNIT
run: ./tests/unit/unit
+ - name: Configure (with debug logs)
+ run: make distclean && env CFLAGS='-Werror' ./autogen.sh --enable-debug-messages
+ - name: Build
+ run: make all
- name: Configure ARM
run: make distclean && env CFLAGS='-Werror' ./autogen.sh --host=arm-linux-gnueabihf --with-only-libndpi
- name: Build ARM
diff --git a/src/lib/protocols/cassandra.c b/src/lib/protocols/cassandra.c
index 1072ed4b5..248708b17 100644
--- a/src/lib/protocols/cassandra.c
+++ b/src/lib/protocols/cassandra.c
@@ -22,9 +22,9 @@
#include <stdbool.h>
#include "ndpi_protocol_ids.h"
+#define NDPI_CURRENT_PROTO NDPI_PROTOCOL_CASSANDRA
#include "ndpi_api.h"
-#define NDPI_CURRENT_PROTO NDPI_PROTOCOL_CASSANDRA
#define CASSANDRA_HEADER_LEN 9
#define CASSANDRA_MAX_BODY_SIZE 268435456 //256MB (256 * 1024^2)