From: "Bill Rugolsky Jr." Subject: [PATCH] ipt_osf: module revision fixup Date: Thu, 6 Jan 2005 21:24:59 -0500 Message-ID: <20050107022459.GC26992@ti64.telemetry-investments.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netfilter-devel@lists.netfilter.org Return-path: To: Evgeniy Polyakov Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Use C99 initializers to allow for new match revision field. Signed-off-by: Bill Rugolsky --- 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)