From 20710da797204ca75c36bdbcc8334906a63404fe Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Thu, 3 Oct 2024 09:20:40 +0300 Subject: [PATCH] bgpd: Print debug message about reaching maximum allowed multi paths Fixes: 421cf856ef86db250a86be01437d0a668b463dcc ("bgpd: Cleanup multipath figuring out in bgp") Signed-off-by: Donatas Abraitis --- bgpd/bgp_mpath.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bgpd/bgp_mpath.c b/bgpd/bgp_mpath.c index 84db7e88ce..609afa4245 100644 --- a/bgpd/bgp_mpath.c +++ b/bgpd/bgp_mpath.c @@ -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) -- 2.39.5