ipt_osf: module revision fixup
PATCH 1/1 ipt_osf: module revision fixup
Use C99 initializers to allow for new match revision field.
Signed-off-by Bill Rugolsky <[email protected]>
osf/linux-2.6/net/ipv4/netfilter/ipt_osf.c renamed from osf/linux-2.6/net/ipv4/netfilter/ipt_osf.c.revision +5 -8
@@ -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)
Quoted 1 line
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 <[email protected]>
Signed-off-by Evgeniy Polyakov <[email protected]>
osf/linux-2.6/net/ipv4/netfilter/ipt_osf.c renamed from osf/linux-2.6/net/ipv4/netfilter/ipt_osf.c.revision +5 -8
@@ -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
Quoted 4 lines · Evgeniy Polyakov
Quoted 1 line
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.
It's now subversion, but applied anyway ;)
Thanks!
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie