<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:ao2@ao2.it" title="Antonio Ospite <ao2@ao2.it>"> <span class="fn">Antonio Ospite</span></a>
</span> changed
              <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">bug 1196</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;">CC</td>
           <td>
                
           </td>
           <td>ao2@ao2.it
           </td>
         </tr></table>
      <p>
        <div>
            <b><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#c1">Comment # 1</a>
              on <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">bug 1196</a>
              from <span class="vcard"><a class="email" href="mailto:ao2@ao2.it" title="Antonio Ospite <ao2@ao2.it>"> <span class="fn">Antonio Ospite</span></a>
</span></b>
        <pre>Hi,

I too noticed this.

As a workaround one can use comments at the end of the line, after the items,
like:

        tcp dport {
            21, #normal FTP
            2121 # patched FTP
        } counter accept

Or abuse line continuation:

        tcp dport { \
            # normal FTP
            21, \
            # patched FTP
            2121
        } counter accept

But both tricks are quite ugly IMHO.

It would be great if comments could be used more freely.

Ciao,
   Antonio</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>