if (sigmatch_table[i].desc) {
printf("%sDescription: %s\n", prefix, sigmatch_table[i].desc);
}
- printf("%sProtocol: %s\n", prefix,
- AppLayerGetProtoName(sigmatch_table[i].alproto));
printf("%sFeatures: ", prefix);
PrintFeatureList(sigmatch_table[i].flags, ',');
if (sigmatch_table[i].url) {
{
size_t size = sizeof(sigmatch_table) / sizeof(SigTableElmt);
size_t i;
- char *proto_name;
if (keyword == NULL) {
printf("=====Supported keywords=====\n");
printf("%s", sigmatch_table[i].desc);
}
/* Build feature */
- proto_name = AppLayerGetProtoName(sigmatch_table[i].alproto);
- printf(";%s;", proto_name ? proto_name : "Unset");
+ printf(";Unset;"); // this used to be alproto
PrintFeatureList(sigmatch_table[i].flags, ':');
printf(";");
if (sigmatch_table[i].url) {
Flow *, /**< *LOCKED* flow */
uint8_t flags, File *, Signature *, SigMatch *);
- /** app layer proto from app-layer-protos.h this match applies to */
- AppProto alproto;
-
/** keyword setup function pointer */
int (*Setup)(DetectEngineCtx *, Signature *, char *);
void (*RegisterTests)(void);
uint8_t flags;
+
+ /** unused: warn user. Will be removed in the future. */
+ AppProto alproto __attribute__((deprecated));
+
char *name; /**< keyword name alias */
char *alias; /**< name alias */
char *desc;