On Mon, Jan 13, 2025 at 9:46 PM Frode Nordahl <[email protected]> wrote:
>
> Make it more clear what this element represents.
>
> Suggested-by: Eelco Chaudron <[email protected]>
> Signed-off-by: Frode Nordahl <[email protected]>
> Acked-by: Eelco Chaudron <[email protected]>
> ---
Test failure due to what appears to be GitHub infrastructure issues
(Internal server error on Git checkout).
Recheck-request: github-robot
> lib/route-table.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/lib/route-table.c b/lib/route-table.c
> index ca56a2f82..7377f4846 100644
> --- a/lib/route-table.c
> +++ b/lib/route-table.c
> @@ -80,7 +80,7 @@ struct route_data {
> /* Copied from struct rtmsg. */
> unsigned char rtm_dst_len;
> unsigned char rtm_protocol;
> - bool local;
> + bool rtn_local;
>
> /* Extracted from Netlink attributes. */
> struct in6_addr rta_dst; /* 0 if missing. */
> @@ -347,7 +347,7 @@ route_table_parse__(struct ofpbuf *buf, size_t ofs,
> change->nlmsg_type = nlmsg->nlmsg_type;
> change->rd.rtm_dst_len = rtm->rtm_dst_len;
> change->rd.rtm_protocol = rtm->rtm_protocol;
> - change->rd.local = rtm->rtm_type == RTN_LOCAL;
> + change->rd.rtn_local = rtm->rtm_type == RTN_LOCAL;
> if (attrs[RTA_OIF]) {
> rta_oif = nl_attr_get_u32(attrs[RTA_OIF]);
>
> @@ -519,7 +519,7 @@ route_table_handle_msg(const struct route_table_msg
> *change,
> ovs_router_insert(rd->mark, &rd->rta_dst,
> IN6_IS_ADDR_V4MAPPED(&rd->rta_dst)
> ? rd->rtm_dst_len + 96 : rd->rtm_dst_len,
> - rd->local, rdnh->ifname, &rdnh->addr,
> + rd->rtn_local, rdnh->ifname, &rdnh->addr,
> &rd->rta_prefsrc);
> }
> }
> --
> 2.47.1
>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev