bugzilla-daemon at netfilter.org
2017-Aug-21 22:44 UTC
[Bug 1171] New: define statement does not accept negative numbers
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>
bugzilla-daemon at netfilter.org
2017-Aug-22 19:51 UTC
[Bug 1171] define statement does not accept negative numbers
https://bugzilla.netfilter.org/show_bug.cgi?id=1171 --- Comment #1 from Jeff Kletsky <netfilter at allycomm.com> --- ~/build/nftables$ git log -1 commit d74eed8c9649e9278b69f2cd0fd92f71e3e19cfb (HEAD -> master, tag: 2017-08-19, origin/master, origin/HEAD) Author: Varsha Rao <rvarsha016 at gmail.com> Date: Wed Aug 16 19:48:17 2017 +0530 ~/build/libmnl$ git log -1 commit fbe0f33b45abd585eb9f52cb56d751a750667dc6 (HEAD -> master, tag: 2017-08-19, origin/master, origin/HEAD) Author: Guillaume Nault <g.nault at alphalink.fr> Date: Wed Aug 3 12:52:34 2016 +0200 ~/build/libnftnl$ git log -1 commit d58998312375de0865091cfc5d00ddd271d9a44c (HEAD -> master, tag: 2017-08-19) Author: Eric Leblond <eric at regit.org> Date: Thu Jul 6 13:58:27 2017 +0100 -- 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/20170822/1d9a39f9/attachment.html>
bugzilla-daemon at netfilter.org
2020-Jul-21 17:11 UTC
[Bug 1171] define statement does not accept negative numbers
https://bugzilla.netfilter.org/show_bug.cgi?id=1171
Pablo Neira Ayuso <pablo at netfilter.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #2 from Pablo Neira Ayuso <pablo at netfilter.org> ---
Patches to fix this upstream are now available.
https://patchwork.ozlabs.org/project/netfilter-devel/patch/20200721170525.3982-1-pablo
at netfilter.org/
https://patchwork.ozlabs.org/project/netfilter-devel/patch/20200721170525.3982-2-pablo
at netfilter.org/
Thanks for reporting.
--
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/20200721/20c78ca4/attachment.html>
bugzilla-daemon at netfilter.org
2020-Jul-29 22:08 UTC
[Bug 1171] define statement does not accept negative numbers
https://bugzilla.netfilter.org/show_bug.cgi?id=1171
Pablo Neira Ayuso <pablo at netfilter.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Pablo Neira Ayuso <pablo at netfilter.org> ---
Closing, thanks for reporting.
--
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/20200729/07355729/attachment.html>
Apparently Analagous Threads
- [Bug 1172] New: chain priority cannot be set by a defined variable
- [Bug 1173] New: Documentation/error messages around NAT statements in "inet" tables incorrect
- [Bug 1188] New: nft fails to parse own output; unable to save-restore active state
- [Bug 1175] New: Document limitations on identifier names
- [Bug 1171] configure can't always figure out LLONG_MAX.