Update to new avl/list iteration macros
[olsrd.git] / src / duplicate_set.h
index 231953f..366edb0 100644 (file)
@@ -76,8 +76,8 @@ bool olsr_is_duplicate_message(struct olsr_message *m, bool forward_set, enum du
 void olsr_print_duplicate_table(void);
 void olsr_flush_duplicate_entries(void);
 
-#define OLSR_FOR_ALL_FORWARD_DUP_ENTRIES(dup, iterator) avl_for_each_element_safe(&forward_set, dup, avl, iterator.loop, iterator.safe)
-#define OLSR_FOR_ALL_PROCESS_DUP_ENTRIES(dup, iterator) avl_for_each_element_safe(&processing_set, dup, avl, iterator.loop, iterator.safe)
+#define OLSR_FOR_ALL_FORWARD_DUP_ENTRIES(dup, iterator) avl_for_each_element_safe(&forward_set, dup, avl, iterator)
+#define OLSR_FOR_ALL_PROCESS_DUP_ENTRIES(dup, iterator) avl_for_each_element_safe(&processing_set, dup, avl, iterator)
 
 extern struct avl_tree forward_set, processing_set;
 #endif /*DUPLICATE_SET_H_ */