[Bug 1135] New: When used as a script interpreter, nft fails if extra arguments are passed

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Wed Mar 22 18:21:53 CET 2017


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

            Bug ID: 1135
           Summary: When used as a script interpreter, nft fails if extra
                    arguments are passed
           Product: nftables
           Version: unspecified
          Hardware: x86_64
                OS: Debian GNU/Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: dsx at droidnest.org

When used as a script interpreter, nft fails if extra arguments are passed.
E.g.:

#!/usr/sbin/nft -I /usr/local/etc/nftables -I /etc/nftables -f
[ruleset follows]

Error produced:

<cmdline>:1:11-11: Error: syntax error, unexpected newline, expecting string
./test.nft
          ^

-- 
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/20170322/84bdf8c4/attachment.html>


More information about the netfilter-buglog mailing list