modbus: shrink data structure

pull/1375/head
Victor Julien 10 years ago
parent 9f1b417660
commit 97cab030d7

@ -88,6 +88,8 @@ typedef struct ModbusTransaction_ {
uint8_t function;
uint8_t category;
uint8_t type;
uint8_t replied; /**< bool indicating request is replied to. */
union {
uint16_t subFunction;
uint8_t mei;
@ -107,8 +109,6 @@ typedef struct ModbusTransaction_ {
AppLayerDecoderEvents *decoder_events; /**< per tx events */
uint8_t replied; /**< bool indicating request is replied to. */
TAILQ_ENTRY(ModbusTransaction_) next;
} ModbusTransaction;

Loading…
Cancel
Save