mirror_frr/staticd
Adrian Ban 24a4626c0b staticd: Fix static routes that are not added in RIB after Null0 or vrf routes
When you add a static route like:

ip route 10.0.0.0/24 Null0
ip route 192.168.7.0/24 99.99.99.99 nexthop-vrf EVA

all routes after this command will be ignored by staticd and are not inserted in RIB.
This is the cause of return instead of continue in the for loop in static_nht_update_safi() function that is stopping the search in the routes list and is returning in the previous function without calling static_zebra_route_add() function.

This patch is fixing this issue.

Signed-off-by: Adrian Ban <bugs@abtelcom.ro>
2019-04-03 09:53:58 -04:00
..
.gitignore staticd: Start the addition of a staticd 2018-07-29 12:37:24 -04:00
Makefile staticd: Start the addition of a staticd 2018-07-29 12:37:24 -04:00
static_main.c *: add empty array of YANG modules 2018-10-27 16:16:12 -02:00
static_memory.c staticd: Code review comments fixes 2018-07-29 12:43:23 -04:00
static_memory.h staticd: Code review comments fixes 2018-07-29 12:43:23 -04:00
static_nht.c staticd: Fix static routes that are not added in RIB after Null0 or vrf routes 2019-04-03 09:53:58 -04:00
static_nht.h staticd: Code review comments fixes 2018-07-29 12:43:23 -04:00
static_routes.c staticd: remove stale header info in static_fixup_intf_nh 2018-11-12 18:34:48 +00:00
static_routes.h staticd: install static routes in a vrf when next-hop interface comes up 2018-11-12 15:08:11 +00:00
static_vrf.c vtysh: fix exit-vrf printing 2018-10-23 22:47:42 +00:00
static_vrf.h staticd: Code review comments fixes 2018-07-29 12:43:23 -04:00
static_vty.c *: remove null check before XFREE 2019-02-25 23:00:46 +00:00
static_vty.h staticd: Code review comments fixes 2018-07-29 12:43:23 -04:00
static_zebra.c *: The onlink attribute should be owned by the nexthop not the route. 2019-01-26 21:02:26 -05:00
static_zebra.h staticd: Allow daemon to have backup static routes 2018-07-29 12:43:23 -04:00
staticd.conf.sample staticd: Start the addition of a staticd 2018-07-29 12:37:24 -04:00
subdir.am build: fix a whole bunch of *FLAGS 2019-01-30 19:13:51 +01:00