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
@@ -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));
}
