netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Zhongqiu Duan <dzq.aishenghu0@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [PATCH libnftnl] expr: ct: print key name of id field
Date: Wed, 19 Mar 2025 16:01:53 +0100	[thread overview]
Message-ID: <20250319150153.GA3991@breakpoint.cc> (raw)
In-Reply-To: <20250319142927.124941-1-dzq.aishenghu0@gmail.com>

Zhongqiu Duan <dzq.aishenghu0@gmail.com> wrote:
>  static const char *ctkey2str(uint32_t ctkey)
>  {
> -	if (ctkey >= NFT_CT_MAX)
> +	if (ctkey > NFT_CT_MAX)

Indeed, NFT_CT_MAX is last valid index.
Applied, thanks.

      reply	other threads:[~2025-03-19 15:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-19 14:29 [PATCH libnftnl] expr: ct: print key name of id field Zhongqiu Duan
2025-03-19 15:01 ` Florian Westphal [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=20250319150153.GA3991@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=dzq.aishenghu0@gmail.com \
    --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).