[Bug 1488] New: netdev doesn't accept variables in "device"

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Mon Dec 28 19:33:36 CET 2020


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

            Bug ID: 1488
           Summary: netdev doesn't accept variables in "device"
           Product: nftables
           Version: unspecified
          Hardware: x86_64
                OS: Debian GNU/Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: bugz at dragon-home.dyndns-mail.com

Works:
add table netdev filter
add chain netdev filter fin { type filter hook ingress device enp1s0 priority
filter; }

Doesn't work:
add table netdev filter
add chain netdev filter fin { type filter hook ingress device $lan_if priority
filter; }

./fw_bug:7:63-63: Error: syntax error, unexpected '$', expecting string or
quoted string or string with a trailing asterisk
add chain netdev filter fin { type filter hook ingress device $lan_if priority
filter; }

Debian10
linux-image-5.9.0-0.bpo.2-amd64 (5.9.6-1~bpo10+1)
nftables v0.9.6 (0.9.6-1~bpo10+1 amd64)

-- 
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/20201228/536b53d3/attachment.html>


More information about the netfilter-buglog mailing list