diff options
Diffstat (limited to 'src/vnet/fib/fib_table.c')
-rw-r--r-- | src/vnet/fib/fib_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/fib/fib_table.c b/src/vnet/fib/fib_table.c index 6766028762d..ac0f2da6696 100644 --- a/src/vnet/fib/fib_table.c +++ b/src/vnet/fib/fib_table.c @@ -1277,7 +1277,7 @@ fib_table_lock_inc (fib_table_t *fib_table, { vec_validate(fib_table->ft_locks, source); - ASSERT(fib_table->ft_locks[source] < (0xffff - 1)); + ASSERT(fib_table->ft_total_locks < (0xffffffff - 1)); fib_table->ft_locks[source]++; fib_table->ft_total_locks++; } |