path: root/include/rule.h
diff options
authorHendrik Schwartke <>2014-06-09 23:39:32 +0200
committerPablo Neira Ayuso <>2014-06-10 11:33:47 +0200
commitc661d1f8726c9aa6968ec3a66351b18437918f21 (patch)
treea5517b03e3476a63de1bab28a410fda635a7da40 /include/rule.h
parentc000b14c35bf7722225a334ea3461976e78561dd (diff)
src: change type of chain.priority from unsigned int to int
This removes a bug that displays strange hook priorities like "type route hook output priority 4294967146". Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include/rule.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rule.h b/include/rule.h
index ebdafe8a..db914068 100644
--- a/include/rule.h
+++ b/include/rule.h
@@ -115,7 +115,7 @@ struct chain {
uint32_t flags;
const char *hookstr;
unsigned int hooknum;
- unsigned int priority;
+ int priority;
const char *type;
struct scope scope;
struct list_head rules;