diff --git a/tests/test_pkt_normalizer_standalone.c b/tests/test_pkt_normalizer_standalone.c index 3b21c7d9c..5e05bbaff 100644 --- a/tests/test_pkt_normalizer_standalone.c +++ b/tests/test_pkt_normalizer_standalone.c @@ -12,6 +12,13 @@ #include "../src/pkt_normalizer.h" #include "../src/etcp.h" +// Stub for etcp_conn_reinit - should not be called in standalone test +void etcp_conn_reinit(struct ETCP_CONN* etcp) { + (void)etcp; + fprintf(stderr, "FAIL: etcp_conn_reinit called - ETCP not initialized in standalone test!\n"); + exit(1); +} + #define TOTAL_PACKETS 100 #define MIN_PACKET_SIZE 10 #define MAX_PACKET_SIZE 3000