Skip to content

Commit

Permalink
ovn-trace: Fix the typo from 'lookback' to 'loopback'.
Browse files Browse the repository at this point in the history
Fixes: a60b9a12709b("ovn-trace: Handle IPv6 packets for tcp_reset action.")
Acked-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Numan Siddique <numans@ovn.org>
  • Loading branch information
numansiddique committed Oct 20, 2020
1 parent 29b3fd6 commit 8e227bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions utilities/ovn-trace.c
Expand Up @@ -1737,13 +1737,13 @@ static void
execute_tcp6_reset(const struct ovnact_nest *on,
const struct ovntrace_datapath *dp,
const struct flow *uflow, uint8_t table_id,
bool lookback, enum ovnact_pipeline pipeline,
bool loopback, enum ovnact_pipeline pipeline,
struct ovs_list *super)
{
struct flow tcp_flow = *uflow;

/* Update fields for TCP segment. */
if (lookback) {
if (loopback) {
tcp_flow.dl_dst = uflow->dl_src;
tcp_flow.dl_src = uflow->dl_dst;
tcp_flow.ipv6_dst = uflow->ipv6_src;
Expand Down Expand Up @@ -1771,13 +1771,13 @@ static void
execute_tcp_reset(const struct ovnact_nest *on,
const struct ovntrace_datapath *dp,
const struct flow *uflow, uint8_t table_id,
bool lookback, enum ovnact_pipeline pipeline,
bool loopback, enum ovnact_pipeline pipeline,
struct ovs_list *super)
{
if (get_dl_type(uflow) == htons(ETH_TYPE_IP)) {
execute_tcp4_reset(on, dp, uflow, table_id, lookback, pipeline, super);
execute_tcp4_reset(on, dp, uflow, table_id, loopback, pipeline, super);
} else {
execute_tcp6_reset(on, dp, uflow, table_id, lookback, pipeline, super);
execute_tcp6_reset(on, dp, uflow, table_id, loopback, pipeline, super);
}
}
static void
Expand Down

0 comments on commit 8e227bf

Please sign in to comment.