From 92dc7096c8076f2228c1c6cadb81f7892384033b Mon Sep 17 00:00:00 2001 From: Hann-Huei Chiou Date: Fri, 28 Sep 2007 15:27:43 +0000 Subject: 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 --- extensions/libxt_u32.c | 1 + 1 file changed, 1 insertion(+) 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)), -- cgit v1.2.3