All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: netfilter-devel@vger.kernel.org, florz@florz.de
Subject: Re: [nftables] bug: rejects single-element intervals as supposedly empty
Date: Wed, 25 Dec 2019 18:50:23 +0100	[thread overview]
Message-ID: <20191225175023.GG795@breakpoint.cc> (raw)
In-Reply-To: <20191225154106.x6mmx3m6hi7ksrao@florz.florz.de>

Florian Zumbiehl <florz@florz.de> wrote:
> I stumbled upon this bug in the Debian buster backports version of nftables
> (0.9.2-1~bpo10+1), the git commit log doesn't look like this has been fixed
> since, so here it is:
> 
> | # nft add rule foo bar udp dport 1-1
> | Error: Range has zero or negative size
> | add rule foo bar udp dport 1-1

I'd guess this is intentional and nft assumes user
meant something else such as 1-2 or 1-11.

We could autotranslate this to "dport 1" but I'm not sure its right.

  reply	other threads:[~2019-12-25 17:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-25 15:41 [nftables] bug: rejects single-element intervals as supposedly empty Florian Zumbiehl
2019-12-25 17:50 ` Florian Westphal [this message]
2019-12-25 18:26   ` Florian Zumbiehl

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=20191225175023.GG795@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=florz@florz.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.