<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:netfilter@allycomm.com" title="Jeff Kletsky <netfilter@allycomm.com>"> <span class="fn">Jeff Kletsky</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - 'define' functionality not sufficient for maintaining sets and the like"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1174">bug 1174</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - 'define' functionality not sufficient for maintaining sets and the like"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1174#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - 'define' functionality not sufficient for maintaining sets and the like"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1174">bug 1174</a>
              from <span class="vcard"><a class="email" href="mailto:netfilter@allycomm.com" title="Jeff Kletsky <netfilter@allycomm.com>"> <span class="fn">Jeff Kletsky</span></a>
</span></b>
        <pre>On re-testing this in a different context, the following appear to work:

Works:
======

define some_ports = { 80, 443 }

table ip global {

    set some_ports_set {
        type inet_service
    elements = $some_ports
    }
}

Works:
======

define some_ports = { 80, 443 }

table ip global {

    set some_ports_set {
        type inet_service
    elements = { $some_ports }
    }
}</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>