[Bug 1442] Definitions cannot be referenced in chain type configuration

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Thu Jul 30 21:51:55 CEST 2020


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

Pablo Neira Ayuso <pablo at netfilter.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Pablo Neira Ayuso <pablo at netfilter.org> ---
Upstream fix:

commit d100e2d811749bf34bb6aeac322052c56661c124
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date:   Thu Jul 16 14:36:28 2020 +0200

    src: allow to use variables in flowtable and chain devices

Running a quick test here:

# cat x.nft
define if_main = lo

table netdev filter {
 chain Main_Ingress {
  type filter hook ingress device $if_main priority -500; policy accept;
 }
}
# nft -f x.nft

Works fine, thank you for reporting. Closing.

-- 
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/20200730/c6fc1677/attachment.html>


More information about the netfilter-buglog mailing list