netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: rodanber@gmail.com
Cc: arturo.borrero.glez@gmail.com, netfilter-devel@vger.kernel.org
Subject: Re: [PATCH] iptables: extensions: libxt_MARK: Add translation for revision 1 to nft
Date: Wed, 22 Jun 2016 19:51:04 +0200	[thread overview]
Message-ID: <20160622175104.GA8772@salvia> (raw)
In-Reply-To: <1466539704-1666-1-git-send-email-rodanber@gmail.com>

On Tue, Jun 21, 2016 at 10:08:24PM +0200, rodanber@gmail.com wrote:
> From: Roberto García <rodanber@gmail.com>
> 
> Add translation for revision 1 of the MARK target to nft.
> 
> Examples:
> 
>   # iptables-translate -t mangle -A PREROUTING -j MARK --set-mark 0x64
>   nft add rule ip mangle PREROUTING counter meta mark set 0x64
> 
>   # iptables-translate -t mangle -A PREROUTING -j MARK --and-mark 0x64
>   nft add rule ip mangle PREROUTING counter meta mark set mark and 0x64
> 
>   # iptables-translate -t mangle -A PREROUTING -j MARK --or-mark 0x64
>   nft add rule ip mangle PREROUTING counter meta mark set mark or 0x64

Applied, thanks.

Roberto, please make sure your editor highlights trailing whitespace
and unnecessary indentations. This is usually very easy to enable.

This time I have fixed this here, but you make it easier for me if you
already deal with this.

Note that otherwise I get this warnings:

Applying: iptables: extensions: libxt_MARK: Add translation for revision 1 to nft
patch:28: trailing whitespace.
        case XT_MARK_OR: 
patch:32: trailing whitespace.

warning: 2 lines add whitespace errors.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2016-06-22 17:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-21 20:08 [PATCH] iptables: extensions: libxt_MARK: Add translation for revision 1 to nft rodanber
2016-06-22  9:47 ` Arturo Borrero Gonzalez
2016-06-22 17:51 ` Pablo Neira Ayuso [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=20160622175104.GA8772@salvia \
    --to=pablo@netfilter.org \
    --cc=arturo.borrero.glez@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=rodanber@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).