summaryrefslogtreecommitdiffstats
path: root/include/statement.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-07-07 14:31:33 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-07-08 11:23:19 +0200
commit8f56db64be3f2c57a196a5eaef0286ec71782950 (patch)
tree83d0b1af1db2133994ab15f170d17b6394e16c41 /include/statement.h
parent26d2f70c59f8c66d7cf1a016b74e3007c0e2c118 (diff)
src: use expression to store the log prefix
Intsead of using an array of char. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/statement.h')
-rw-r--r--include/statement.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/statement.h b/include/statement.h
index 7d96b394..061bc619 100644
--- a/include/statement.h
+++ b/include/statement.h
@@ -75,7 +75,7 @@ enum {
};
struct log_stmt {
- const char *prefix;
+ struct expr *prefix;
unsigned int snaplen;
uint16_t group;
uint16_t qthreshold;