<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:pablo@netfilter.org" title="Pablo Neira Ayuso <pablo@netfilter.org>"> <span class="fn">Pablo Neira Ayuso</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - nft insert rule ignores space in prefix value"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1262">bug 1262</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>WONTFIX
           </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 WONTFIX - nft insert rule ignores space in prefix value"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1262#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - nft insert rule ignores space in prefix value"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1262">bug 1262</a>
              from <span class="vcard"><a class="email" href="mailto:pablo@netfilter.org" title="Pablo Neira Ayuso <pablo@netfilter.org>"> <span class="fn">Pablo Neira Ayuso</span></a>
</span></b>
        <pre>(In reply to ikonta from <a href="show_bug.cgi?id=1262#c0">comment #0</a>)
<span class="quote">> #!/bin/sh
> #
> /sbin/nft flush table filter
> #
> /sbin/nft insert rule filter input log prefix "nftables " drop</span >

>From the shell, you have to escape the quotes, ie.

/sbin/nft insert rule filter input log prefix \"nftables \" drop

Anyway: I recommend you use nft -f for this purpose instead of using a shell
script since this is breaking atomicity, eg.

#!/usr/sbin/nft

flush table filter
insert rule filter input log prefix "nftables " drop
-EOF-</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>