.ct_zone = true,
.ct_mark = true,
.ct_label = true,
+ .max_vlan_headers = SIZE_MAX,
},
};
/* Convert odp_actions back to string. */
ds_init(&out);
- format_odp_actions(&out, odp_actions.data, odp_actions.size);
+ format_odp_actions(&out, odp_actions.data, odp_actions.size, NULL);
puts(ds_cstr(&out));
ds_destroy(&out);
struct ofpbuf odp_key;
struct ofpbuf odp_mask;
struct ds out;
- int error;
/* Convert string to OVS DP key. */
ofpbuf_init(&odp_key, 0);
ofpbuf_init(&odp_mask, 0);
- error = odp_flow_from_string(ds_cstr(&in), NULL,
- &odp_key, &odp_mask);
- if (error) {
+ if (odp_flow_from_string(ds_cstr(&in), NULL, &odp_key, &odp_mask)) {
printf("odp_flow_from_string: error\n");
goto next;
}