summaryrefslogtreecommitdiffstats
path: root/src/vnet/dpo/load_balance_map.c
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2020-11-26 09:34:39 +0000
committerBeno�t Ganne <bganne@cisco.com>2020-11-26 13:18:29 +0000
commitfdf6b6f52460890305f231c041e060fbb232550b (patch)
tree07f5301bd4b7ce912a38f1b79fded3a1fdf5b804 /src/vnet/dpo/load_balance_map.c
parentab4fbedf27ece4ea623d7c3b54cc54f0133ba1f7 (diff)
fib: Expressive type for walk return code. Honour code.
Type: improvement Signed-off-by: Neale Ranns <neale.ranns@cisco.com> Change-Id: I487e698555545fce85d02d55deaaf7bb0007e388
Diffstat (limited to 'src/vnet/dpo/load_balance_map.c')
-rw-r--r--src/vnet/dpo/load_balance_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/dpo/load_balance_map.c b/src/vnet/dpo/load_balance_map.c
index c03acaf2d70..de5f30bc60a 100644
--- a/src/vnet/dpo/load_balance_map.c
+++ b/src/vnet/dpo/load_balance_map.c
@@ -491,7 +491,7 @@ load_balance_map_unlock (index_t lbmi)
}
}
-static int
+static walk_rc_t
load_balance_map_path_state_change_walk (fib_node_ptr_t *fptr,
void *ctx)
{
@@ -501,7 +501,7 @@ load_balance_map_path_state_change_walk (fib_node_ptr_t *fptr,
load_balance_map_fill(lbm);
- return (!0);
+ return (WALK_CONTINUE);
}
/**