diff --git a/src/app-layer-parser.c b/src/app-layer-parser.c index 7e41cfe100..31c52c06ee 100644 --- a/src/app-layer-parser.c +++ b/src/app-layer-parser.c @@ -102,7 +102,7 @@ typedef struct AppLayerParserProtoCtx_ AppLayerStateData *(*GetStateData)(void *state); AppLayerTxData *(*GetTxData)(void *tx); - bool (*ApplyTxConfig)(void *state, void *tx, int mode, AppLayerTxConfig); + void (*ApplyTxConfig)(void *state, void *tx, int mode, AppLayerTxConfig); void (*SetStreamDepthFlag)(void *tx, uint8_t flags); @@ -610,7 +610,7 @@ void AppLayerParserRegisterStateDataFunc( } void AppLayerParserRegisterApplyTxConfigFunc(uint8_t ipproto, AppProto alproto, - bool (*ApplyTxConfig)(void *state, void *tx, int mode, AppLayerTxConfig)) + void (*ApplyTxConfig)(void *state, void *tx, int mode, AppLayerTxConfig)) { SCEnter(); diff --git a/src/app-layer-parser.h b/src/app-layer-parser.h index a44c96ed1c..4432cfa35d 100644 --- a/src/app-layer-parser.h +++ b/src/app-layer-parser.h @@ -215,7 +215,7 @@ void AppLayerParserRegisterGetStateFuncs(uint8_t ipproto, AppProto alproto, void AppLayerParserRegisterTxDataFunc(uint8_t ipproto, AppProto alproto, AppLayerTxData *(*GetTxData)(void *tx)); void AppLayerParserRegisterApplyTxConfigFunc(uint8_t ipproto, AppProto alproto, - bool (*ApplyTxConfig)(void *state, void *tx, int mode, AppLayerTxConfig)); + void (*ApplyTxConfig)(void *state, void *tx, int mode, AppLayerTxConfig)); void AppLayerParserRegisterStateDataFunc( uint8_t ipproto, AppProto alproto, AppLayerStateData *(*GetStateData)(void *state)); diff --git a/src/app-layer-register.h b/src/app-layer-register.h index 33cd49a22d..8266db59cc 100644 --- a/src/app-layer-register.h +++ b/src/app-layer-register.h @@ -67,7 +67,7 @@ typedef struct AppLayerParser { AppLayerStateData *(*GetStateData)(void *state); AppLayerTxData *(*GetTxData)(void *tx); - bool (*ApplyTxConfig)(void *state, void *tx, int mode, AppLayerTxConfig); + void (*ApplyTxConfig)(void *state, void *tx, int mode, AppLayerTxConfig); uint32_t flags;