summaryrefslogtreecommitdiff
path: root/bgpd/bgp_addpath.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2024-10-08 11:45:27 -0400
committerGitHub <noreply@github.com>2024-10-08 11:45:27 -0400
commitb8c458622d2fb8ed221af2295dc1c1811fc2cbde (patch)
tree31655dd9cb711558c2d9a47ad21e13509dccb96c /bgpd/bgp_addpath.c
parenta4fb596e3ebff59c09a1627716d3937f13bb3d2a (diff)
parent9f8968fc5ae700a95867010bc69a51319027bd71 (diff)
Merge pull request #17023 from donaldsharp/dplane_problemsbase_10.2
zebra: Allow dplane to pass larger number of nexthops down to dataplane
Diffstat (limited to 'bgpd/bgp_addpath.c')
-rw-r--r--bgpd/bgp_addpath.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/bgpd/bgp_addpath.c b/bgpd/bgp_addpath.c
index f391c13847..aada6e555f 100644
--- a/bgpd/bgp_addpath.c
+++ b/bgpd/bgp_addpath.c
@@ -361,8 +361,7 @@ void bgp_addpath_type_changed(struct bgp *bgp)
}
}
-int bgp_addpath_capability_action(enum bgp_addpath_strat addpath_type,
- uint8_t paths)
+int bgp_addpath_capability_action(enum bgp_addpath_strat addpath_type, uint16_t paths)
{
int action = CAPABILITY_ACTION_UNSET;
@@ -392,8 +391,7 @@ int bgp_addpath_capability_action(enum bgp_addpath_strat addpath_type,
* change take effect.
*/
void bgp_addpath_set_peer_type(struct peer *peer, afi_t afi, safi_t safi,
- enum bgp_addpath_strat addpath_type,
- uint8_t paths)
+ enum bgp_addpath_strat addpath_type, uint16_t paths)
{
struct bgp *bgp = peer->bgp;
enum bgp_addpath_strat old_type;