summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Jepp <tom@tomjepp.co.uk>2015-12-17 15:29:55 +0000
committerThomas Jepp <tom@tomjepp.co.uk>2015-12-17 15:29:55 +0000
commit7b0fa22c84ecd6b0205cadccf90083c105f5fd3f (patch)
treeee223ebdc9bd84d2d827b1018a6d36d6315d3cf2 /src
parent8a2f140cdb863a757309500cf604108431076726 (diff)
downloadvyatta-cfg-7b0fa22c84ecd6b0205cadccf90083c105f5fd3f.tar.gz
vyatta-cfg-7b0fa22c84ecd6b0205cadccf90083c105f5fd3f.zip
Fix the reversed sort order for nodes.
Diffstat (limited to 'src')
-rw-r--r--src/cstore/cstore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cstore/cstore.cpp b/src/cstore/cstore.cpp
index 1253978..19fadad 100644
--- a/src/cstore/cstore.cpp
+++ b/src/cstore/cstore.cpp
@@ -2022,7 +2022,7 @@ Cstore::assert_internal(bool cond, const char *fmt, ...)
bool
Cstore::sort_func_deb_version(string a, string b)
{
- return debVS.CmpVersion(a, b) > 0;
+ return debVS.CmpVersion(a, b) < 0;
}
void