]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
rules: change rule handle to 64 bit
authorPatrick McHardy <kaber@trash.net>
Sun, 9 Dec 2012 13:25:27 +0000 (14:25 +0100)
committerPatrick McHardy <kaber@trash.net>
Sun, 9 Dec 2012 13:25:40 +0000 (14:25 +0100)
Recent kernel versions are using 64 bit for the rule handle.

Signed-off-by: Patrick McHardy <kaber@trash.net>
include/rule.h

index 23171ffbe7dafc03be2907596f15296efab8372b..4a458d31167bfbe232108265a6b67479d22048a4 100644 (file)
@@ -19,7 +19,7 @@ struct handle {
        const char              *table;
        const char              *chain;
        const char              *set;
-       uint32_t                handle;
+       uint64_t                handle;
 };
 
 extern void handle_merge(struct handle *dst, const struct handle *src);