Browse code

core: typo fix in dns_cache_clone_entry()

Andrei Pelinescu-Onciul authored on 26/08/2010 19:39:33
Showing 1 changed files
... ...
@@ -4112,7 +4112,7 @@ static struct dns_hash_entry *dns_cache_clone_entry(struct dns_hash_entry *e,
4112 4112
 	/* fix the values and pointers */
4113 4113
 	new->next = new->prev = NULL;
4114 4114
 #ifdef DNS_LU_LST
4115
-	new->last_used_lst.next = new->last_used_lst.next = NULL;
4115
+	new->last_used_lst.next = new->last_used_lst.prev = NULL;
4116 4116
 #endif
4117 4117
 	new->rr_lst = (struct dns_rr*)translate_pointer((char*)new, (char*)e,
4118 4118
 														(char*)new->rr_lst);