[PATCH] ipt_osf: module revision fixup
Evgeniy Polyakov
johnpol at 2ka.mipt.ru
Fri Jan 7 12:22:00 CET 2005
> Use C99 initializers to allow for new match revision field.
I've applied your patch to my tree, netfilter team, please
apply it to netfilter CVS, thank you.
Signed-off-by: Bill Rugolsky <brugolsky at telemetry-investments.com>
Signed-off-by: Evgeniy Polyakov <johnpol at 2ka.mipt.ru>
--- patch-o-matic-ng/osf/linux-2.6/net/ipv4/netfilter/ipt_osf.c.revision 2004-11-24 10:19:50.000000000 -0500
+++ patch-o-matic-ng/osf/linux-2.6/net/ipv4/netfilter/ipt_osf.c 2005-01-06 20:37:36.000000000 -0500
@@ -83,14 +83,11 @@
static unsigned long seq, ipt_osf_groups = 1;
static struct sock *nts;
-static struct ipt_match osf_match =
-{
- { NULL, NULL },
- "osf",
- &match,
- &checkentry,
- NULL,
- THIS_MODULE
+static struct ipt_match osf_match = {
+ .name = "osf",
+ .match = &match,
+ .checkentry = &checkentry,
+ .me = THIS_MODULE
};
static void ipt_osf_nlsend(struct osf_finger *f, const struct sk_buff *sk)
Evgeniy Polyakov
Only failure makes us experts. -- Theo de Raadt
More information about the netfilter-devel
mailing list