diff options
Diffstat (limited to 'src/vnet/fib/fib_node_list.c')
-rw-r--r-- | src/vnet/fib/fib_node_list.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/fib/fib_node_list.c b/src/vnet/fib/fib_node_list.c index ceb951b466b..bcd9a09152d 100644 --- a/src/vnet/fib/fib_node_list.c +++ b/src/vnet/fib/fib_node_list.c @@ -372,7 +372,8 @@ fib_node_list_walk (fib_node_list_t list, elt = fib_node_list_elt_get(sibling); sibling = elt->fnle_next; - fn(&elt->fnle_owner, args); + if (WALK_STOP == fn(&elt->fnle_owner, args)) + break; } } |