[Bug 1083] New: Cannot parse negative priorities from command line

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Mon Aug 22 09:30:14 CEST 2016


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

            Bug ID: 1083
           Summary: Cannot parse negative priorities from command line
           Product: nftables
           Version: unspecified
          Hardware: x86_64
                OS: RedHat Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: georg at fleig.xyz

Adding a chain with a negative priority using the command line is not possible.

E.g. the IPv4 nat example provided by this software:
nft add chain nat prerouting { type nat hook prerouting priority -150\; }

Returns:
nft: invalid option -- '1'

However, when this is stored in a file and loaded using nft -f <file> it works
without problems. So negative priorities seem to work but can not be configured
directly on the command line.

-- 
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/20160822/d9199cbe/attachment.html>


More information about the netfilter-buglog mailing list