diff options
author | Donald Sharp <sharpd@nvidia.com> | 2020-10-15 19:41:30 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2020-10-29 14:13:59 +0100 |
commit | acde7f6b8e66c58d37501fee0067acc526db03d0 (patch) | |
tree | 0248f8a6cda990729d919e3b3b1eaf1cd33b203a /zebra/zebra_rib.c | |
parent | Merge pull request #7045 from mjstapp/fix_signals (diff) | |
download | frr-acde7f6b8e66c58d37501fee0067acc526db03d0.tar.xz frr-acde7f6b8e66c58d37501fee0067acc526db03d0.zip |
zebra: Consolidate on 32 bits as the flag size for route flags
When we get a route for installation via any method we should
consolidate on 32 bits as the flag size, since we have
actually more than 8 bits of data to bass around.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r-- | zebra/zebra_rib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 08daddb16..ff19e3f59 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -3053,7 +3053,7 @@ int rib_add_multipath(afi_t afi, safi_t safi, struct prefix *p, } void rib_delete(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type, - unsigned short instance, int flags, struct prefix *p, + unsigned short instance, uint32_t flags, struct prefix *p, struct prefix_ipv6 *src_p, const struct nexthop *nh, uint32_t nhe_id, uint32_t table_id, uint32_t metric, uint8_t distance, bool fromkernel, bool connected_down) @@ -3282,7 +3282,7 @@ void rib_delete(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type, int rib_add(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type, - unsigned short instance, int flags, struct prefix *p, + unsigned short instance, uint32_t flags, struct prefix *p, struct prefix_ipv6 *src_p, const struct nexthop *nh, uint32_t nhe_id, uint32_t table_id, uint32_t metric, uint32_t mtu, uint8_t distance, route_tag_t tag) |