Fix type issue with route_path flags

This commit is contained in:
Pim van Pelt
2021-12-19 21:32:05 +00:00
parent cd86f17454
commit d36f34b91d

View File

@ -485,7 +485,7 @@ lcp_nl_route_add (struct rtnl_route *rr)
lcp_nl_route_path_parse_t np = { lcp_nl_route_path_parse_t np = {
.route_proto = pfx.fp_proto, .route_proto = pfx.fp_proto,
.is_mcast = (rtype == RTN_MULTICAST), .is_mcast = (rtype == RTN_MULTICAST),
.type_flags = lcp_nl_route_type_feflags[rtype], .type_flags = lcp_nl_route_type_frpflags[rtype],
.preference = (u8) rtnl_route_get_priority (rr), .preference = (u8) rtnl_route_get_priority (rr),
}; };