<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - netdev doesn't accept variables in "device""
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1488">1488</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>netdev doesn't accept variables in "device"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>nftables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Debian GNU/Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>nft
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pablo@netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bugz@dragon-home.dyndns-mail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>