[Bug 1171] New: define statement does not accept negative numbers

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Tue Aug 22 00:44:02 CEST 2017


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

            Bug ID: 1171
           Summary: define statement does not accept negative numbers
           Product: nftables
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: netfilter at allycomm.com

To replicate:

define PRI_DEFRAG    = -400 

results in the error

nftables.conf:22:24-24: Error: syntax error, unexpected -
define PRI_DEFRAG    = -400
                       ^


Expected behavior:

Could "define" a negative number (as opposed to a string)


Possible work around:

define PRI_DEFRAG    = "-400"

(Unclear if this is parsed to a number, remains a string, or if it even
matters)

-- 
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/20170821/51142650/attachment.html>


More information about the netfilter-buglog mailing list