summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2007-09-28 15:27:43 +0000
committer/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net>2007-09-28 15:27:43 +0000
commit4d2da33902f7592f21db04f952b768f7b6792a32 (patch)
tree5d1ab3d082befd179a94f4accfe6edde13eea2bb /extensions
parentb8db8c67c5438fa6d92a5b216416231b7d0196bf (diff)
[PATCH] Couldn't load/find match `u32'
iptables (up to 0927 snapshot) keeps complaining of "Couldn't load (or find, if NO_SHARED_LIBS=1) match `u32'. After comparing with other libxt_*.c, I found that there's no member ".family" in the "u32_reg" structure, while ".family = AF_INET6" exists in "u32_reg6" Hann-Huei Chiou <koala@ascenvision.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libxt_u32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/libxt_u32.c b/extensions/libxt_u32.c
index b1c6bcd..71b555e 100644
--- a/extensions/libxt_u32.c
+++ b/extensions/libxt_u32.c
@@ -274,6 +274,7 @@ static void u32_save(const void *ip, const struct xt_entry_match *match)
static struct xtables_match u32_reg = {
.name = "u32",
+ .family = AF_INET,
.version = IPTABLES_VERSION,
.size = XT_ALIGN(sizeof(struct xt_u32)),
.userspacesize = XT_ALIGN(sizeof(struct xt_u32)),