diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-03-19 22:36:43 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-03-19 22:36:47 +0100 |
commit | 655ef783b1d5f72af3acccc87455c365fea4ad42 (patch) | |
tree | 1f8c26f023a5728a7ccf50c48122164b00c2c5e9 /utils.h | |
parent | 75baeca6f817b161f522a9961bfe5c3718397189 (diff) |
fix vlist_simple_add version handling
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -93,6 +93,7 @@ static inline void vlist_simple_update(struct vlist_simple_tree *tree) static inline void vlist_simple_add(struct vlist_simple_tree *tree, struct vlist_simple_node *node) { + node->version = tree->version; list_add(&node->list, &tree->list); } |