From fdf6b6f52460890305f231c041e060fbb232550b Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 26 Nov 2020 09:34:39 +0000 Subject: fib: Expressive type for walk return code. Honour code. Type: improvement Signed-off-by: Neale Ranns Change-Id: I487e698555545fce85d02d55deaaf7bb0007e388 --- src/vnet/mfib/mfib_entry_cover.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/vnet/mfib/mfib_entry_cover.c') diff --git a/src/vnet/mfib/mfib_entry_cover.c b/src/vnet/mfib/mfib_entry_cover.c index 6caeb1b6928..2f5fd6bad08 100644 --- a/src/vnet/mfib/mfib_entry_cover.c +++ b/src/vnet/mfib/mfib_entry_cover.c @@ -71,7 +71,7 @@ typedef struct mfib_enty_cover_walk_ctx_t_ { void *ctx; } mfib_enty_cover_walk_ctx_t; -static int +static walk_rc_t mfib_entry_cover_walk_node_ptr (fib_node_ptr_t *depend, void *args) { @@ -79,8 +79,7 @@ mfib_entry_cover_walk_node_ptr (fib_node_ptr_t *depend, ctx->walk(ctx->cover, depend->fnp_index, ctx->ctx); - /* continue */ - return (1); + return (WALK_CONTINUE); } void -- cgit 1.2.3-korg