zebra: kill rib_match_ipv4()
Since this function is internal to zebra, there is no reason to keep
this one-line indirect wrapper to rib_match_ipv4_safi() around.
Cc: Everton Marques <everton.marques@gmail.com>
Cc: Balaji G <balajig81@gmail.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
diff --git a/zebra/zserv.c b/zebra/zserv.c
index 1b69315..e9236de 100644
--- a/zebra/zserv.c
+++ b/zebra/zserv.c
@@ -539,8 +539,8 @@
u_char num;
struct nexthop *nexthop;
- /* Lookup nexthop. */
- rib = rib_match_ipv4 (addr);
+ /* Lookup nexthop - eBGP excluded */
+ rib = rib_match_ipv4_safi (addr, SAFI_UNICAST, 1);
/* Get output stream. */
s = client->obuf;