summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_u32.c
diff options
context:
space:
mode:
authorHann-Huei Chiou <koala@ascenvision.com>2007-09-28 15:27:43 +0000
committerPatrick McHardy <kaber@trash.net>2007-09-28 15:27:43 +0000
commit92dc7096c8076f2228c1c6cadb81f7892384033b (patch)
tree5d1ab3d082befd179a94f4accfe6edde13eea2bb /extensions/libxt_u32.c
parentad326ef9f734ac30548de292c59fc0e2fd81ac2a (diff)
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/libxt_u32.c')
-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 b1c6bcda..71b555e9 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)),