detect: make SigMatch.is_last bool

It is used like bool so much so that nothing needs to be changed even
after changing its type.
pull/10187/head
Shivani Bhardwaj 1 year ago committed by Victor Julien
parent 588af05565
commit 26b81ca007

@ -354,7 +354,7 @@ typedef struct SigMatch_ {
/** \brief Data needed for Match() */
typedef struct SigMatchData_ {
uint16_t type; /**< match type */
uint8_t is_last; /**< Last element of the list */
bool is_last; /**< Last element of the list */
SigMatchCtx *ctx; /**< plugin specific data */
} SigMatchData;

Loading…
Cancel
Save