Patchwork [2/5] rule: family field in struct handle is unsigned

login
register
mail settings
Submitter Pablo Neira
Date June 21, 2013, 2:42 p.m.
Message ID <1371825739-3669-2-git-send-email-pablo@netfilter.org>
Download mbox | patch
Permalink /patch/253232/
State Superseded
Headers show

Comments

Pablo Neira - June 21, 2013, 2:42 p.m.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
 include/rule.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/include/rule.h b/include/rule.h
index eda6b2c..e0debe3 100644
--- a/include/rule.h
+++ b/include/rule.h
@@ -15,7 +15,7 @@ 
  * @handle:	rule handle (rules only)
  */
 struct handle {
-	int			family;
+	uint32_t		family;
 	const char		*table;
 	const char		*chain;
 	const char		*set;