diff options
| author | Russ White <russ@riw.us> | 2024-10-08 11:45:27 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-08 11:45:27 -0400 | 
| commit | b8c458622d2fb8ed221af2295dc1c1811fc2cbde (patch) | |
| tree | 31655dd9cb711558c2d9a47ad21e13509dccb96c /pimd/pim_nht.c | |
| parent | a4fb596e3ebff59c09a1627716d3937f13bb3d2a (diff) | |
| parent | 9f8968fc5ae700a95867010bc69a51319027bd71 (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 'pimd/pim_nht.c')
| -rw-r--r-- | pimd/pim_nht.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_nht.c b/pimd/pim_nht.c index 030b933e09..5a161c4f16 100644 --- a/pimd/pim_nht.c +++ b/pimd/pim_nht.c @@ -573,7 +573,7 @@ static int pim_ecmp_nexthop_search(struct pim_instance *pim,  	ifindex_t first_ifindex;  	struct interface *ifp = NULL;  	uint32_t hash_val = 0, mod_val = 0; -	uint8_t nh_iter = 0, found = 0; +	uint16_t nh_iter = 0, found = 0;  	uint32_t i, num_nbrs = 0;  	struct pim_interface *pim_ifp; @@ -947,7 +947,7 @@ int pim_ecmp_nexthop_lookup(struct pim_instance *pim,  	struct interface *ifps[router->multipath], *ifp;  	int first_ifindex;  	int found = 0; -	uint8_t i = 0; +	uint16_t i = 0;  	uint32_t hash_val = 0, mod_val = 0;  	uint32_t num_nbrs = 0;  	struct pim_interface *pim_ifp;  | 
