From: Donald Sharp Date: Tue, 12 Jun 2018 19:50:39 +0000 (-0400) Subject: zebra: Fix compilation of bsd X-Git-Tag: frr-6.1-dev~336^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=f47598b0f09402eb82ba892a090ece676c272992;p=matthieu%2Ffrr.git zebra: Fix compilation of bsd Actually return a value. Fixes: #2413 Signed-off-by: Donald Sharp --- diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c index 3380f225c0..441f518e91 100644 --- a/zebra/rt_socket.c +++ b/zebra/rt_socket.c @@ -395,7 +395,7 @@ enum dp_req_result kernel_route_rib(struct route_node *rn, if (src_p && src_p->prefixlen) { zlog_err("route add: IPv6 sourcedest routes unsupported!"); - return; + return DP_REQUEST_FAILURE; } if (zserv_privs.change(ZPRIVS_RAISE))