summaryrefslogtreecommitdiffstats
path: root/staticd/static_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-10-11 20:01:10 +0200
committerDonald Sharp <sharpd@nvidia.com>2024-10-15 17:57:23 +0200
commit645a9e4f8389226227af24088b8b55a4246aaed6 (patch)
tree8f4fdb9caf630c3b90ec4ba422517396e92cba53 /staticd/static_zebra.c
parentMerge pull request #17106 from louis-6wind/fix-bmp-converity (diff)
downloadfrr-645a9e4f8389226227af24088b8b55a4246aaed6.tar.xz
frr-645a9e4f8389226227af24088b8b55a4246aaed6.zip
*: 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/static_zebra.c')
-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 420ed7903..d76befc13 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;
};