bugzilla-daemon at netfilter.org
2021-Mar-04 20:29 UTC
[Bug 1506] New: bitwise operator operand display is incorrect when followed by or
https://bugzilla.netfilter.org/show_bug.cgi?id=1506 Bug ID: 1506 Summary: bitwise operator operand display is incorrect when followed by or Product: nftables Version: unspecified Hardware: x86_64 OS: Ubuntu Status: NEW Severity: minor Priority: P5 Component: nft Assignee: pablo at netfilter.org Reporter: daniele at orlandi.com The third rule has the AND-ed mask displayed incorrectly although it is arithmetically equivalent: # nft create table ttt # nft create chain ttt ccc # nft "add rule ip ttt ccc dnat to ip daddr & 0.0.0.255" # nft "add rule ip ttt ccc dnat to ip daddr & 255.255.255.0 | 1.2.3.0" # nft "add rule ip ttt ccc dnat to ip daddr & 0.0.0.255 | 1.2.3.0" # nft list ruleset table ip ttt { chain ccc { dnat to ip daddr & 0.0.0.255 dnat to ip daddr & 255.255.255.0 | 1.2.3.0 dnat to ip daddr & 1.2.3.255 | 1.2.3.0 } } -- 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/20210304/297671fb/attachment.html>
bugzilla-daemon at netfilter.org
2021-Mar-04 20:48 UTC
[Bug 1506] bitwise operator operand display is incorrect when followed by or
https://bugzilla.netfilter.org/show_bug.cgi?id=1506 --- Comment #1 from Daniele Orlandi <daniele at orlandi.com> --- *** Bug 1507 has been marked as a duplicate of this bug. *** -- 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/20210304/499ef1ca/attachment.html>