summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2019-04-30 13:41:52 -0700
committerBen Pfaff <blp@ovn.org>2019-06-09 16:01:32 -0700
commit1ca203571a82a05e9d21c3c2360875b215b3990f (patch)
treeca92bacef05618c35a724b2aec9c92c5e1d588ff /lib
parent0cb2fe2f6e87bc1a3ca15d1a8ab9317fc2b6a9e6 (diff)
downloadopenvswitch-1ca203571a82a05e9d21c3c2360875b215b3990f.tar.gz
ofp-actions: Make decap action format output match parsed input.
The action expects 'type' as a parameter name so it should use 'type' when it formats actions too. Acked-by: Numan Siddique <nusiddiq@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/ofp-actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c
index 182277da8..c2cef769e 100644
--- a/lib/ofp-actions.c
+++ b/lib/ofp-actions.c
@@ -4625,7 +4625,7 @@ format_DECAP(const struct ofpact_decap *a,
{
ds_put_format(fp->s, "%sdecap(%s", colors.paren, colors.end);
if (a->new_pkt_type != htonl(PT_USE_NEXT_PROTO)) {
- ds_put_format(fp->s, "packet_type(ns=%"PRIu16",id=%#"PRIx16")",
+ ds_put_format(fp->s, "packet_type(ns=%"PRIu16",type=%#"PRIx16")",
pt_ns(a->new_pkt_type),
pt_ns_type(a->new_pkt_type));
}