From 63bb7771007789916a118bdb6a447c2911c768b3 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 21 Aug 2008 21:55:28 +0200 Subject: [PATCH] Use a default prio of 3. --- src/detect-parse.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/detect-parse.c b/src/detect-parse.c index 5dfa08f8a6..8816801139 100644 --- a/src/detect-parse.c +++ b/src/detect-parse.c @@ -420,6 +420,10 @@ Signature *SigInit(char *sigstr) { if (sig == NULL) goto error; + /* XXX one day we will support this the way Snort does, + * through classifications.config */ + sig->prio = 3; + if (SigParse(sig, sigstr) < 0) goto error;