summaryrefslogtreecommitdiff
path: root/staticd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-10-11 14:01:10 -0400
committerDonald Sharp <sharpd@nvidia.com>2024-10-15 11:57:23 -0400
commit645a9e4f8389226227af24088b8b55a4246aaed6 (patch)
tree8f4fdb9caf630c3b90ec4ba422517396e92cba53 /staticd
parent0aef4e40418d1b47f3c3e460b5e0fd61ad6819f7 (diff)
*: Fix up improper handling of nexthops for nexthop tracking
Currently FRR needs to send a uint16_t value for the number of nexthops as well it needs the ability to properly decode all of this. Find and handle all the places that this happens. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'staticd')
-rw-r--r--staticd/static_zebra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/staticd/static_zebra.c b/staticd/static_zebra.c
index 420ed7903b..d76befc131 100644
--- a/staticd/static_zebra.c
+++ b/staticd/static_zebra.c
@@ -43,7 +43,7 @@ struct static_nht_data {
vrf_id_t nh_vrf_id;
uint32_t refcount;
- uint8_t nh_num;
+ uint16_t nh_num;
bool registered;
};