Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Daniel <tech@tootai.net>
Cc: Netfilter list <netfilter@vger.kernel.org>
Subject: Re: Error: conflicting intervals specified - Bullseye 0.9.8
Date: Tue, 28 Sep 2021 22:58:42 +0200	[thread overview]
Message-ID: <YVOCAvkLQFiise9G@salvia> (raw)
In-Reply-To: <82b7ac87-ace3-d235-4b7a-2890ed7705b6@tootai.net>

On Tue, Sep 28, 2021 at 02:41:57PM +0200, Daniel wrote:
> Le 28/09/2021 à 13:05, Daniel a écrit :
[...]
> everything is fine. But if I call the map like
> 
> sudo nft add rule ip nat prerouting meta l4proto { tcp, udp } dnat to ip
> daddr . th dport map @fwdtoip_th
> 
> I get
> 
> Error: datatype mismatch: expected IPv4 address, expression has type
> concatenation of (IPv4 address, internet network service)
> add rule ip nat prerouting meta l4proto { tcp, udp } dnat to ip daddr . th
> dport map @fwdtoip_th
> 
> Expression recognize that map is a concatenation but not that the "to ip
> daddr . th dport" should also be treated as concatenation

Fix: https://patchwork.ozlabs.org/project/netfilter-devel/patch/20210928205543.368551-1-pablo@netfilter.org/

      reply	other threads:[~2021-09-28 20:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-08  9:33 Error: conflicting intervals specified - Bullseye 0.9.8 Daniel
2021-09-16  9:29 ` Pablo Neira Ayuso
2021-09-16 11:27   ` Daniel
2021-09-16 12:58     ` Pablo Neira Ayuso
2021-09-16 13:33       ` Daniel
2021-09-17 10:18       ` Daniel
2021-09-21  0:13         ` Pablo Neira Ayuso
2021-09-28 11:05           ` Daniel
2021-09-28 12:41             ` Daniel
2021-09-28 20:58               ` 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=YVOCAvkLQFiise9G@salvia \
    --to=pablo@netfilter.org \
    --cc=netfilter@vger.kernel.org \
    --cc=tech@tootai.net \
    /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