summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_fpm_netlink.c
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@opensourcerouting.org>2019-04-27 16:19:43 +0200
committerRafael Zalamena <rzalamena@opensourcerouting.org>2019-05-14 17:39:54 +0200
commitebdb1f4d833292acf515b67597fe015e7b915acd (patch)
tree8a353e96a2fd15285707ce60f3ff36b1dc964996 /zebra/zebra_fpm_netlink.c
parentMerge pull request #4312 from lkrishnamoor/json_cli_bug_fix (diff)
downloadfrr-ebdb1f4d833292acf515b67597fe015e7b915acd.tar.xz
frr-ebdb1f4d833292acf515b67597fe015e7b915acd.zip
zebra: send nexthop blackhole information in FPM
Don't return prematurely so we can add blackhole nexthop information. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_fpm_netlink.c')
-rw-r--r--zebra/zebra_fpm_netlink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/zebra_fpm_netlink.c b/zebra/zebra_fpm_netlink.c
index bdc1dcdff..16459b606 100644
--- a/zebra/zebra_fpm_netlink.c
+++ b/zebra/zebra_fpm_netlink.c
@@ -270,7 +270,6 @@ static int netlink_route_info_fill(netlink_route_info_t *ri, int cmd,
ri->rtm_type = RTN_BLACKHOLE;
break;
}
- return 1;
}
if ((cmd == RTM_NEWROUTE