[netfilter-cvslog] r7051 - trunk/iptables/extensions

kaber at trash.net kaber at trash.net
Fri Sep 28 17:27:43 CEST 2007


Author: kaber at trash.net
Date: 2007-09-28 17:27:43 +0200 (Fri, 28 Sep 2007)
New Revision: 7051

Modified:
   trunk/iptables/extensions/libxt_u32.c
Log:
[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 at ascenvision.com>


Modified: trunk/iptables/extensions/libxt_u32.c
===================================================================
--- trunk/iptables/extensions/libxt_u32.c	2007-09-23 15:17:42 UTC (rev 7050)
+++ trunk/iptables/extensions/libxt_u32.c	2007-09-28 15:27:43 UTC (rev 7051)
@@ -274,6 +274,7 @@
 
 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)),




More information about the netfilter-cvslog mailing list