summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/fib/fib_test.c2
-rw-r--r--src/vnet/fib/fib_test.h2
-rw-r--r--src/vnet/mfib/mfib_test.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/fib/fib_test.c b/src/vnet/fib/fib_test.c
index da517b0ceea..66a38236216 100644
--- a/src/vnet/fib/fib_test.c
+++ b/src/vnet/fib/fib_test.c
@@ -562,7 +562,7 @@ fib_test_validate_lb_v (const load_balance_t *lb,
int
fib_test_validate_entry (fib_node_index_t fei,
fib_forward_chain_type_t fct,
- u16 n_buckets,
+ int n_buckets,
...)
{
dpo_id_t dpo = DPO_INVALID;
diff --git a/src/vnet/fib/fib_test.h b/src/vnet/fib/fib_test.h
index 5adc52ec658..a9463d60830 100644
--- a/src/vnet/fib/fib_test.h
+++ b/src/vnet/fib/fib_test.h
@@ -107,7 +107,7 @@ extern int fib_test_validate_lb_v(const load_balance_t *lb,
extern int fib_test_validate_entry(fib_node_index_t fei,
fib_forward_chain_type_t fct,
- u16 n_buckets,
+ int n_buckets,
...);
#endif
diff --git a/src/vnet/mfib/mfib_test.c b/src/vnet/mfib/mfib_test.c
index 3ec00a74aa8..2cb663a5eb6 100644
--- a/src/vnet/mfib/mfib_test.c
+++ b/src/vnet/mfib/mfib_test.c
@@ -232,7 +232,7 @@ fib_forw_chain_type_from_fib_proto (fib_protocol_t proto)
static int
mfib_test_entry (fib_node_index_t fei,
mfib_entry_flags_t eflags,
- u16 n_buckets,
+ int n_buckets,
...)
{
const mfib_entry_t *mfe;