Skip to content

Commit

Permalink
bgpd: Print debug message about reaching maximum allowed multi paths
Browse files Browse the repository at this point in the history
Fixes: 421cf85 ("bgpd: Cleanup multipath figuring out in bgp")

Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Oct 3, 2024
1 parent cc7951d commit 20710da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bgpd/bgp_mpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,11 +490,12 @@ void bgp_path_info_mpath_update(struct bgp *bgp, struct bgp_dest *dest,

cur_iterator = cur_iterator->next;
}
break;

if (debug)
zlog_debug("%pBD(%s): Mpath count %u is equal to maximum paths allowed, finished comparision for MPATHS",
dest, bgp->name_pretty, mpath_count);

break;
}

if (debug)
Expand Down

0 comments on commit 20710da

Please sign in to comment.