]> git.ipfire.org Git - thirdparty/ipset.git/commit
Sort naturally instead of textual sort (bugzilla #1369)
authorJozsef Kadlecsik <kadlec@netfilter.org>
Thu, 31 Oct 2019 13:18:48 +0000 (14:18 +0100)
committerJozsef Kadlecsik <kadlec@netfilter.org>
Thu, 31 Oct 2019 13:18:48 +0000 (14:18 +0100)
commit0b08f9f17ae95a6f8eded6543922b99e7f29cbf7
tree414f4f1a401f8a2584588b73ffa82c62c67b0c85
parent128344c2c2f0f38e381e608fedde60e9eaeed876
Sort naturally instead of textual sort (bugzilla #1369)

Sort 95.0.0.0 before 107.0.0.0 instead of the textual sorting.
Also, in the case of subnets, sort reversed, ie. most specific first.
lib/session.c
tests/iphash.t.restore.sorted