public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: stephen.hemminger@vyatta.com, netdev@vger.kernel.org
Subject: Re: [PATCH] m_xt: stop using xtables_set_revision()
Date: Tue, 30 Nov 2010 09:49:12 -0800	[thread overview]
Message-ID: <20101130094912.3843e120@nehalam> (raw)
In-Reply-To: <1290374214-26743-1-git-send-email-vapier@gentoo.org>

On Sun, 21 Nov 2010 16:16:54 -0500
Mike Frysinger <vapier@gentoo.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@gentoo.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.

      reply	other threads:[~2010-11-30 17:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-21 21:16 [PATCH] m_xt: stop using xtables_set_revision() Mike Frysinger
2010-11-30 17:49 ` Stephen Hemminger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101130094912.3843e120@nehalam \
    --to=shemminger@vyatta.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen.hemminger@vyatta.com \
    --cc=vapier@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox