<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 - nft does not allow comments within sets: Error: syntax error, unexpected newline"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1196">1196</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>nft does not allow comments within sets: Error: syntax error, unexpected newline
          </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>All
          </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>slyfox@inbox.ru
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=512" name="attach_512" title="nft.comment">attachment 512</a> <a href="attachment.cgi?id=512&action=edit" title="nft.comment">[details]</a></span>
nft.comment

# Run as: 'nft -f nft.comment'

# flush old state
flush ruleset

# filters
table inet filter {
    # in real code there is a reference to this chain
    chain local-input {
        # this works
        tcp dport {
            21,
            2121
        } counter accept

        # this does not:
        # ./nft.comment:16:25-25: Error: syntax error, unexpected newline
        #    # normal FTP
        #                ^
        tcp dport {
            # normal FTP
            21,
            # patched FTP
            2121
        } counter accept
    }
}

# dump new state
list ruleset</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>