netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [nftables] bug: rejects empty set literals
@ 2020-01-05 14:57 Florian Zumbiehl
  0 siblings, 0 replies; only message in thread
From: Florian Zumbiehl @ 2020-01-05 14:57 UTC (permalink / raw)
  To: netfilter-devel

Hi,

I guess I found another bug:

| # nft 'table ip t { chain c { ip saddr { }; }; }'
| Error: syntax error, unexpected '}'
| table ip t { chain c { ip saddr { }; }; }
|                                   ^

Now, this does match what the documentation says (you have to have at least
one item in a set literal), but I would think that that also should count
as a bug, as (a) it isn't exactly useful to have arbitrary exceptions on
what (set) values can be specified and (b) nftables handles empty sets just
fine, it's just the input syntax that is complicated.

Regards, Florian

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-05 14:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-05 14:57 [nftables] bug: rejects empty set literals Florian Zumbiehl

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).