Add missing pack_on on ajp struct

This commit is contained in:
emanuele-f
2019-08-29 16:47:33 +02:00
parent 68f6310222
commit d27e7e2786
+2 -1
View File
@@ -47,11 +47,12 @@ enum ajp_packet_type {
AJP_BODY = 11 AJP_BODY = 11
}; };
PACK_ON
struct ajp_header { struct ajp_header {
uint16_t magic; uint16_t magic;
uint16_t len; uint16_t len;
uint8_t code; uint8_t code;
}; } PACK_OFF;
static void set_ajp_detected(struct ndpi_detection_module_struct *ndpi_struct, static void set_ajp_detected(struct ndpi_detection_module_struct *ndpi_struct,
struct ndpi_flow_struct *flow) { struct ndpi_flow_struct *flow) {