<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 - ipset save|list -sorted sorts alphabetically instead of naturally"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1369">1369</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ipset save|list -sorted sorts alphabetically instead of naturally
</td>
</tr>
<tr>
<th>Product</th>
<td>ipset
</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>default
</td>
</tr>
<tr>
<th>Assignee</th>
<td>netfilter-buglog@lists.netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dominik@greysector.net
</td>
</tr></table>
<p>
<div>
<pre>Description of problem:
ipset save|list -sorted sorts IP (network) addresses as if they were text
instead of naturally as IP addresses, i.e. 95.0.0.0 should be sorted before
107.0.0.0.
Version-Release number of selected component (if applicable):
ipset-7.2
How reproducible:
Always
Steps to Reproduce:
1. ipset create foo hash:net
2. ipset add foo 95.0.0.0/8
3. ipset add foo 107.0.0.0/8
4. ipset save foo -sorted
Actual results:
create foo hash:net family inet hashsize 1024 maxelem 65536
add foo 107.0.0.0/8
add foo 95.0.0.0/8
Expected results:
create foo hash:net family inet hashsize 1024 maxelem 65536
add foo 95.0.0.0/8
add foo 107.0.0.0/8</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>