netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Jeremy Sowden <jeremy@azazel.net>
Cc: Netfilter Devel <netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH libnftnl] rule, set_elem: fix printing of user data
Date: Mon, 29 Aug 2022 09:55:11 +0200	[thread overview]
Message-ID: <Ywxw3x6QA8hZXf9K@salvia> (raw)
In-Reply-To: <20220827171717.945191-1-jeremy@azazel.net>

On Sat, Aug 27, 2022 at 06:17:17PM +0100, Jeremy Sowden wrote:
> Hitherto, alphanumeric characters have been printed as-is, but anything
> else was replaced by '\0'.  However, this effectively truncates the
> output.  Instead, print any printable character as-is and print anything
> else as a hexadecimal escape sequence:
> 
>   userdata = { \x01\x04\x01\x00\x00\x00 }

Applied, thanks

      reply	other threads:[~2022-08-29  7:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-27 17:17 [PATCH libnftnl] rule, set_elem: fix printing of user data Jeremy Sowden
2022-08-29  7:55 ` 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=Ywxw3x6QA8hZXf9K@salvia \
    --to=pablo@netfilter.org \
    --cc=jeremy@azazel.net \
    --cc=netfilter-devel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).