[Bug 1371] Concatenations Literal sets

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Wed Sep 9 20:28:50 CEST 2020


https://bugzilla.netfilter.org/show_bug.cgi?id=1371

--- Comment #12 from Pablo Neira Ayuso <pablo at netfilter.org> ---
(In reply to Thomas from comment #9)
> Created attachment 572 [details]
> Concatenation test rules

The examples you post in your file are imbalanced.

# This dosen't work #                                                           
nft add rule inet filter input iif eth0 ip6 saddr . ip6 saddr . ip6 daddr . ip6
nexthdr { 2001:4680:4680::8888, 2001:4680:4680:8844 . 1:2:3::4 . tcp,
2001:4680:4680::8888, 2001:4680:4680:8844 . 1:2:3::4 . udp } accept

Here above, you specify: 2001:4680:4680::8888 , 

so it reports an error:

Error: invalid data type, expected concatenation of (IPv6 address, IPv6
address, IPv6 address, Internet protocol)

This comma should be just a dot instead.

Similar comments go for other examples in this file.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20200909/11766b56/attachment.html>


More information about the netfilter-buglog mailing list