summaryrefslogtreecommitdiffstats
path: root/src/vnet/feature/registration.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-04-09 20:59:53 +0200
committerDamjan Marion <damarion@cisco.com>2018-04-09 21:09:21 +0200
commit13adc3d48d562b13422259d8c7ac411fb43c7e8b (patch)
tree2b2e379fbd0c964a0773a3aa42ad6ee9b0cbf368 /src/vnet/feature/registration.c
parent87dad11c8717735479e57cf6c065c7a7963c3aa3 (diff)
features: don't break linked list, create separate one for arc
We need to keep original linked list so destructire can remove entries. Change-Id: I5ff5ca0e1a417d88707255207725bba46433c943 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/feature/registration.c')
-rw-r--r--src/vnet/feature/registration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/feature/registration.c b/src/vnet/feature/registration.c
index 872a19623bc..61024ca08cf 100644
--- a/src/vnet/feature/registration.c
+++ b/src/vnet/feature/registration.c
@@ -180,7 +180,7 @@ vnet_feature_arc_init (vlib_main_t * vm,
these_constraints++;
}
- this_reg = this_reg->next;
+ this_reg = this_reg->next_in_arc;
}
n_features = vec_len (node_names);