summaryrefslogtreecommitdiff
path: root/bgpd/bgp_mpath.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-10-03 09:20:40 +0300
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-10-03 09:20:40 +0300
commit20710da797204ca75c36bdbcc8334906a63404fe (patch)
tree81636b8a19e741578d59408ad70eeae56c33c54a /bgpd/bgp_mpath.c
parentcc7951d754138d610c81538db684d54cddf960ea (diff)
bgpd: Print debug message about reaching maximum allowed multi paths
Fixes: 421cf856ef86db250a86be01437d0a668b463dcc ("bgpd: Cleanup multipath figuring out in bgp") Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_mpath.c')
-rw-r--r--bgpd/bgp_mpath.c3
1 files changed, 2 insertions, 1 deletions
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)