]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
cache: bump cache version
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 3 Apr 2017 15:57:20 +0000 (17:57 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 3 Apr 2017 15:57:20 +0000 (17:57 +0200)
The ranks stored within are changing their meaning.

lib/cache.c

index ba2e07a3d0b47720690557e99c114c60ce4f8a9f..c3d793d404f03e5bee4a5b4579389788bfb49035 100644 (file)
@@ -34,7 +34,7 @@
 #include "lib/utils.h"
 
 /* Cache version */
-#define KEY_VERSION "V\x03"
+#define KEY_VERSION "V\x04"
 /* Key size */
 #define KEY_HSIZE (sizeof(uint8_t) + sizeof(uint16_t))
 #define KEY_SIZE (KEY_HSIZE + KNOT_DNAME_MAXLEN)