fib: fix coverity 249175 05/37005/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 23 Aug 2022 17:29:00 +0000 (17:29 +0000)
committerNeale Ranns <neale@graphiant.com>
Mon, 29 Aug 2022 23:52:39 +0000 (23:52 +0000)
commitd2acfbc8f8beaaa544d70163da1622a72a863084
treee94c108fcf57d35009978f22c6065a016a379c39
parent165c963ec5f2d80ab1871e63e0bdd602a9c430e3
fib: fix coverity 249175

Add an assert to express the constraint to coverity without
incurring the overhead in release builds.

Type: fix
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Change-Id: I2c22f8b2565c645d95c9c0be37381060e151420f
src/vnet/fib/fib_entry_src.c