From c661d1f8726c9aa6968ec3a66351b18437918f21 Mon Sep 17 00:00:00 2001 From: Hendrik Schwartke Date: Mon, 9 Jun 2014 23:39:32 +0200 Subject: 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 --- include/rule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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; -- cgit v1.2.3