Merge pull request #16989 from opensourcerouting/fix/unreachable_code

bgpd: Print debug message about reaching maximum allowed multi paths
This commit is contained in:
Donald Sharp 2024-10-03 08:29:55 -04:00 committed by GitHub
commit f5dbc4031b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)