X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fofp-print.c;h=b1f46df83fb7cacbeb15ffcfbc5a8ba4e079c4cc;hb=27527aa09ce456796eeea728cef9528aa5612b70;hp=be2558e2c61eba88c8bc56e745ba140a76d123f2;hpb=032f3fbd856864cdcbdf505d404e826999b8a2ae;p=sliver-openvswitch.git diff --git a/lib/ofp-print.c b/lib/ofp-print.c index be2558e2c..b1f46df83 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -784,7 +784,7 @@ ofp_print_flow_mod(struct ds *s, const struct ofp_header *oh, bool need_priority; enum ofperr error; - error = ofputil_decode_flow_mod(&fm, oh, true); + error = ofputil_decode_flow_mod(&fm, oh, OFPUTIL_P_OF10_TID); if (error) { ofp_print_error(s, error); return; @@ -1319,8 +1319,8 @@ ofp_print_nxt_set_flow_format(struct ds *string, uint32_t format = ntohl(nsff->format); ds_put_cstr(string, " format="); - if (ofputil_flow_format_is_valid(format)) { - ds_put_cstr(string, ofputil_flow_format_to_string(format)); + if (ofputil_nx_flow_format_is_valid(format)) { + ds_put_cstr(string, ofputil_nx_flow_format_to_string(format)); } else { ds_put_format(string, "%"PRIu32, format); }