All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [bug] nft asserts with invalid expr_range_value key
Date: Thu, 13 Mar 2025 09:53:41 +0100	[thread overview]
Message-ID: <Z9KdFVQxe5xcW0O4@calendula> (raw)
In-Reply-To: <20250313084909.GB31269@breakpoint.cc>

On Thu, Mar 13, 2025 at 09:49:09AM +0100, Florian Westphal wrote:
> nft -f -<<EOF
> table ip x {
>        map y {
>                type ipv4_addr : ipv4_addr
>                elements = { 1.168.0.4 }
>        }
> 
>         map y {
>                type ipv4_addr : ipv4_addr
>                flags interval
>                elements = { 10.141.3.0/24 : 192.8.0.3 }
>        }
> }
> EOF
> BUG: invalid data expression type range_value
> 
> Q: Whats the intended behaviour here?
> 
> Should this be rejected (first y lacks interval flag)?

Reject because flags interval is lacking.

      reply	other threads:[~2025-03-13  8:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-13  8:49 [bug] nft asserts with invalid expr_range_value key Florian Westphal
2025-03-13  8:53 ` 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=Z9KdFVQxe5xcW0O4@calendula \
    --to=pablo@netfilter.org \
    --cc=fw@strlen.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.