diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2024-04-11 10:46:46 -0400 | 
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-16 14:15:18 +0000 | 
| commit | c30504233093775c11f022f6ba3ffe8c5320e98b (patch) | |
| tree | 5240ab284c7500e0dbd802d220a8835ac9aaff54 /bgpd/bgp_route.h | |
| parent | 0cccf718e7b21e5ac9f1146cb6257da0cd2685e8 (diff) | |
bgpd: Fix display when using `missing-as-worst`
The usage of the `bgp bestpath med missing-as-worst` command
was being accepted and applied during bestpath, but during output
of the routes affected by this it would not give any indication
that this was happening or what med value was being used.
Fixes: #15718
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
(cherry picked from commit bc9885b22e79ac14fd931517582d0d6d80f68c85)
Diffstat (limited to 'bgpd/bgp_route.h')
| -rw-r--r-- | bgpd/bgp_route.h | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/bgpd/bgp_route.h b/bgpd/bgp_route.h index 2d82f0f206..2929c75df7 100644 --- a/bgpd/bgp_route.h +++ b/bgpd/bgp_route.h @@ -845,10 +845,10 @@ extern void route_vty_out(struct vty *vty, const struct prefix *p,  extern void route_vty_out_tag(struct vty *vty, const struct prefix *p,  			      struct bgp_path_info *path, int display,  			      safi_t safi, json_object *json); -extern void route_vty_out_tmp(struct vty *vty, struct bgp_dest *dest, -			      const struct prefix *p, struct attr *attr, -			      safi_t safi, bool use_json, json_object *json_ar, -			      bool wide); +extern void route_vty_out_tmp(struct vty *vty, struct bgp *bgp, +			      struct bgp_dest *dest, const struct prefix *p, +			      struct attr *attr, safi_t safi, bool use_json, +			      json_object *json_ar, bool wide);  extern void route_vty_out_overlay(struct vty *vty, const struct prefix *p,  				  struct bgp_path_info *path, int display,  				  json_object *json);  | 
