summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2024-10-03 08:29:55 -0400
committerGitHub <noreply@github.com>2024-10-03 08:29:55 -0400
commitf5dbc4031bb6662ff32f8ba3d2b9e5536f51d47e (patch)
tree81636b8a19e741578d59408ad70eeae56c33c54a
parentcc7951d754138d610c81538db684d54cddf960ea (diff)
parent20710da797204ca75c36bdbcc8334906a63404fe (diff)
Merge pull request #16989 from opensourcerouting/fix/unreachable_code
bgpd: Print debug message about reaching maximum allowed multi paths
-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)