diff options
Diffstat (limited to 'bgpd/bgp_route.c')
| -rw-r--r-- | bgpd/bgp_route.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 390bdaeca3..591af0f8cf 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -2106,19 +2106,18 @@ int bgp_zebra_has_route_changed(struct bgp_node *rn, struct bgp_info *selected) { struct bgp_info *mpinfo; - /* If this is multipath, check all selected paths for any nexthop change - * or - * attribute change. Some attribute changes (e.g., community) aren't of - * relevance to the RIB, but we'll update zebra to ensure we handle the - * case of BGP nexthop change. This is the behavior when the best path - * has - * an attribute change anyway. + /* If this is multipath, check all selected paths for any nexthop + * change or attribute change. Some attribute changes (e.g., community) + * aren't of relevance to the RIB, but we'll update zebra to ensure + * we handle the case of BGP nexthop change. This is the behavior + * when the best path has an attribute change anyway. */ if (CHECK_FLAG(selected->flags, BGP_INFO_IGP_CHANGED) || CHECK_FLAG(selected->flags, BGP_INFO_MULTIPATH_CHG)) return 1; - /* If this is multipath, check all selected paths for any nexthop change + /* + * If this is multipath, check all selected paths for any nexthop change */ for (mpinfo = bgp_info_mpath_first(selected); mpinfo; mpinfo = bgp_info_mpath_next(mpinfo)) { |
