[ovs-dev] [PATCH] ofp_actions: fix typo in set_mpls_tc formatting

Adrian Moreno amorenoz at redhat.com
Tue Apr 27 11:00:22 UTC 2021


I guess this was a cut-and-paste error from set_mpls_ttl

Signed-off-by: Adrian Moreno <amorenoz at redhat.com>
---
 lib/ofp-actions.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c
index 0342a228b..91d810860 100644
--- a/lib/ofp-actions.c
+++ b/lib/ofp-actions.c
@@ -3850,7 +3850,7 @@ static void
 format_SET_MPLS_TC(const struct ofpact_mpls_tc *a,
                    const struct ofpact_format_params *fp)
 {
-    ds_put_format(fp->s, "%sset_mpls_ttl(%s%"PRIu8"%s)%s",
+    ds_put_format(fp->s, "%sset_mpls_tc(%s%"PRIu8"%s)%s",
                   colors.paren, colors.end, a->tc,
                   colors.paren, colors.end);
 }
-- 
2.30.2



More information about the dev mailing list