[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101130094912.3843e120@nehalam>
Date: Tue, 30 Nov 2010 09:49:12 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: Mike Frysinger <vapier@...too.org>
Cc: stephen.hemminger@...tta.com, netdev@...r.kernel.org
Subject: Re: [PATCH] m_xt: stop using xtables_set_revision()
On Sun, 21 Nov 2010 16:16:54 -0500
Mike Frysinger <vapier@...too.org> wrote:
> iptables dropped the xtables_set_revision() function around version 1.4.9,
> so set the rev directly ourselves. This should be compatible back to the
> original version m_xt itself is designed for.
>
> Signed-off-by: Mike Frysinger <vapier@...too.org>
> ---
> tc/m_xt.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/tc/m_xt.c b/tc/m_xt.c
> index bfc4937..ede9913 100644
> --- a/tc/m_xt.c
> +++ b/tc/m_xt.c
> @@ -88,7 +88,7 @@ build_st(struct xtables_target *target, struct xt_entry_target *t)
> target->t = xtables_calloc(1, size);
> target->t->u.target_size = size;
> strcpy(target->t->u.user.name, target->name);
> - xtables_set_revision(target->t->u.user.name, target->revision);
> + target->t->u.user.revision = target->revision;
>
> if (target->init != NULL)
> target->init(target->t);
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists