Skip to content

Commit

Permalink
ovn-trace: Fix copy-paste error for tracing put_nd_ra_opts().
Browse files Browse the repository at this point in the history
The nd_ra_opts() would try to pull put_dhcpv6_opts() instead which
would lead to assert and crash of the ovn-trace:

ovn-trace: ./include/ovn/actions.h:601: assertion ovnact->type == OVNACT_PUT_DHCPV6_OPTS failed in ovnact_get_PUT_DHCPV6_OPTS()

Fixes: ec5bcc6 ("ovn-controller: Add a new action - 'put_nd_ra_opts'")
Signed-off-by: Ales Musil <[email protected]>
Signed-off-by: Numan Siddique <[email protected]>
(cherry picked from commit ae35240)
  • Loading branch information
almusil authored and numansiddique committed Oct 17, 2024
1 parent d762c8f commit 44fe79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/ovn-trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -3217,7 +3217,7 @@ trace_actions(const struct ovnact *ovnacts, size_t ovnacts_len,
break;

case OVNACT_PUT_ND_RA_OPTS:
execute_put_nd_ra_opts(ovnact_get_PUT_DHCPV6_OPTS(a),
execute_put_nd_ra_opts(ovnact_get_PUT_ND_RA_OPTS(a),
"put_nd_ra_opts", uflow, super);
break;

Expand Down

0 comments on commit 44fe79b

Please sign in to comment.