summaryrefslogtreecommitdiff
path: root/zebra/zebra_rnh.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-05-18 12:15:04 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-05-18 12:23:13 +0200
commit92eedda1fb1b9c9fb2c31153677a033bee4573d3 (patch)
treed99e2aa0ac3346dc20c766026e717cf69b0abbbb /zebra/zebra_rnh.c
parent303f85d5450ddc56250eff44a1e3d724c9e553fb (diff)
parentb2b6f8f33c934c87de580a1665acfe79e434b3ec (diff)
Merge branch stable/2.0 into stable/3.0
Conflicts: bgpd/bgp_fsm.c ospf6d/ospf6_lsa.c ospfd/ospf_vty.c zebra/redistribute.c Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_rnh.c')
-rw-r--r--zebra/zebra_rnh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c
index 67859fd46b..5096e95395 100644
--- a/zebra/zebra_rnh.c
+++ b/zebra/zebra_rnh.c
@@ -555,7 +555,7 @@ zebra_rnh_process_static_routes (vrf_id_t vrfid, int family,
{
RNODE_FOREACH_RIB(static_rn, srib)
{
- if (srib->type == ZEBRA_ROUTE_STATIC)
+ if (srib->type != ZEBRA_ROUTE_STATIC)
continue;
/* Set the filter flag for the correct nexthop - static route may