VPP is crashing without this fix if there is not any server
using VPP host stack and client attemts to connect.
Change-Id: I672977f78180bbc5ba9259116b2e165363463ccd
Signed-off-by: tjanciga <tomas.janciga@pantheon.tech>
prefix.fp_len = rmt->is_ip4 ? 32 : 128;
fib_index = fib_table_find (prefix.fp_proto, rmt->vrf);
+ if (fib_index == (u32) ~ 0)
+ {
+ clib_warning ("no fib table");
+ return -1;
+ }
+
fei = fib_table_lookup (fib_index, &prefix);
/* Couldn't find route to destination. Bail out. */