path: root/src
diff options
authorÁlvaro Neira Ayuso <>2014-07-14 21:04:31 +0200
committerPablo Neira Ayuso <>2014-07-15 15:37:00 +0200
commitcac9b26874d60aa17c7cabe46d33e9114b24885d (patch)
tree42b89005839a0e963f6b1774d4eb4e6852e73a07 /src
parent6d3960f99ebaa83f5c7c1ab3867f35e48c31255a (diff)
expr: log: define variable flags in xml parser
In the xml parser, we have used a variable flags for parsing it but we have forgot define it. This patch solves a compile error like: expr/log.c:263:12: error: 'flags' undeclared (first use in this function) Signed-off-by: Alvaro Neira Ayuso <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'src')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/log.c b/src/expr/log.c
index 740db03..bc70eca 100644
--- a/src/expr/log.c
+++ b/src/expr/log.c
@@ -233,7 +233,7 @@ static int nft_rule_expr_log_xml_parse(struct nft_rule_expr *e,
const char *prefix;
- uint32_t snaplen, level;
+ uint32_t snaplen, level, flags;
uint16_t group, qthreshold;
prefix = nft_mxml_str_parse(tree, "prefix", MXML_DESCEND_FIRST,