@@ -11113,7 +11113,7 @@ parsed_route_lookup(struct hmap *routes, size_t hash,
static void
parsed_routes_add(struct ovn_datapath *od, const struct hmap *lr_ports,
const struct nbrec_logical_router_static_route *route,
- struct hmap *bfd_connections,
+ const struct hmap *bfd_connections,
struct hmap *routes, struct simap *route_tables,
struct hmap *bfd_active_connections)
{
@@ -11226,7 +11226,7 @@ parsed_routes_add(struct ovn_datapath *od, const struct hmap *lr_ports,
void
build_parsed_routes(struct ovn_datapath *od, const struct hmap *lr_ports,
- struct hmap *bfd_connections, struct hmap *routes,
+ const struct hmap *bfd_connections, struct hmap *routes,
struct simap *route_tables,
struct hmap *bfd_active_connections)
{
@@ -738,7 +738,7 @@ void northd_indices_create(struct northd_data *data,
void route_policies_init(struct route_policies_data *);
void route_policies_destroy(struct route_policies_data *);
void build_parsed_routes(struct ovn_datapath *, const struct hmap *,
- struct hmap *, struct hmap *, struct simap *,
+ const struct hmap *, struct hmap *, struct simap *,
struct hmap *);
uint32_t get_route_table_id(struct simap *, const char *);
void static_routes_init(struct static_routes_data *);
Make hamp bfd_connections pointer static in build_parsed_routes and parsed_routes_add routines since it is used just as input. Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> --- northd/northd.c | 4 ++-- northd/northd.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)