diff options
author | Thomas Jepp <tom@tomjepp.co.uk> | 2015-12-17 15:29:55 +0000 |
---|---|---|
committer | Thomas Jepp <tom@tomjepp.co.uk> | 2015-12-17 15:29:55 +0000 |
commit | 7b0fa22c84ecd6b0205cadccf90083c105f5fd3f (patch) | |
tree | ee223ebdc9bd84d2d827b1018a6d36d6315d3cf2 /src/cstore | |
parent | 8a2f140cdb863a757309500cf604108431076726 (diff) | |
download | vyatta-cfg-7b0fa22c84ecd6b0205cadccf90083c105f5fd3f.tar.gz vyatta-cfg-7b0fa22c84ecd6b0205cadccf90083c105f5fd3f.zip |
Fix the reversed sort order for nodes.
Diffstat (limited to 'src/cstore')
-rw-r--r-- | src/cstore/cstore.cpp | 2 |
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 |