From e56dbc20847535db3307ff9ee1840ec747822f76 Mon Sep 17 00:00:00 2001 From: John Johansen Date: Thu, 26 Dec 2024 14:47:03 -0800 Subject: [PATCH] parser: fix prefix dump to include priority The original patch adding priority to the set of prefixes failed to update the prefix dump to include the priority priority field. Fixes: e3fca60d1 ("parser: add the ability to specify a priority prefix to rules") Signed-off-by: John Johansen --- parser/rule.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parser/rule.h b/parser/rule.h index 97e9a149a..64a5f471c 100644 --- a/parser/rule.h +++ b/parser/rule.h @@ -182,6 +182,8 @@ public: { bool output = true; + if (priority != 0) + os << "priority=" << priority << " "; switch (audit) { case AUDIT_FORCE: os << "audit";