<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - nft 0.7: expression.c:966: range_expr_value_low: Assertion '0' failed."
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1145#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - nft 0.7: expression.c:966: range_expr_value_low: Assertion '0' failed."
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1145">bug 1145</a>
              from <span class="vcard"><a class="email" href="mailto:ian.kumlien@gmail.com" title="Ian Kumlien <ian.kumlien@gmail.com>"> <span class="fn">Ian Kumlien</span></a>
</span></b>
        <pre>Ok, so doing:
define generic_ports = { <list of generic ports }
define tcp_ports = { <tcp specific ports>, $generic_ports }

Will never work - it will cause the error shown in the bugreport.

But also:
       map protocol_to_rule {
               type inet_proto : verdict
               elements = {
                       udp: jump udp_rule,
                       tcp: jump tcp_rule,
                       icmp: jump icmp_rule
               }
       }
---

Doesn't work if i want to access it - even if the structure is the same as
something like:
<a href="https://wiki.nftables.org/wiki-nftables/index.php/Maps">https://wiki.nftables.org/wiki-nftables/index.php/Maps</a>

using nft list table <table> gives you the same result - no reason why it
shouldn't work and the error message makes no sense.

Also, since that doesn't work, i now have multiple instances of:
                ip protocol vmap {
                        tcp: jump tcp_reject_rule,
                        udp: jump udp_reject_rule
                }
                ip6 nexthdr vmap {
                        tcp: jump tcp_reject_rule,
                        udp: jump udp_reject_rule
                }
---</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>