Signed-off-by: Jafar Al-Gharaibeh <[email protected]> --- zebra/zserv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/zebra/zserv.c b/zebra/zserv.c index 7a75ed4..6fd5ee7 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -630,7 +630,8 @@ zsend_ipv4_nexthop_lookup_mrib (struct zserv *client, struct in_addr addr, stream_reset (s); /* Fill in result. */ - zserv_create_header (s, ZEBRA_IPV4_NEXTHOP_LOOKUP_MRIB, rib->vrf_id); + zserv_create_header (s, ZEBRA_IPV4_NEXTHOP_LOOKUP_MRIB, + rib ? rib->vrf_id : VRF_DEFAULT); stream_put_in_addr (s, &addr); if (rib) -- 1.9.1 _______________________________________________ Quagga-dev mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-dev
