<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_ASSIGNED "
   title="ASSIGNED - flush set doesn't work as expected in script"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1431">bug 1431</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;">Status</td>
           <td>NEW
           </td>
           <td>ASSIGNED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - flush set doesn't work as expected in script"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1431#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - flush set doesn't work as expected in script"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1431">bug 1431</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 James Zeng from <a href="show_bug.cgi?id=1431#c0">comment #0</a>)
<span class="quote">> # nft list ruleset
> table ip potato {
>         set potato {
>                 type ipv4_addr
>                 flags interval
>                 elements = { 0.0.0.0-255.255.255.255 }
>         }
> }

> # cat b.nft
> flush set ip potato potato;
> add element ip potato potato {
>         10.0.0.0/8
> }

> # nft -f b.nft
> b.nft:3:9-18: Error: interval overlaps with an existing one
>         10.0.0.0/8
>                ^^^^^^^^^^</span >

Upstream fix is available in git.

<a href="http://git.netfilter.org/nftables/commit/?id=40ef308e19b6db02017a8a650406b0c6d37be750">http://git.netfilter.org/nftables/commit/?id=40ef308e19b6db02017a8a650406b0c6d37be750</a>

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