X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fofp-print.c;h=9091b1bf558e7b3ed38f1e7fb9fd531cefa754c3;hb=28c5588e8e1a8d091c5d2275232c35f2968a97fa;hp=60e2148fcfd2dad0fcb9d9fbbb5ca7e8b0361813;hpb=5fa008d4618856aa44189cc98f71a7b3c5233652;p=sliver-openvswitch.git diff --git a/lib/ofp-print.c b/lib/ofp-print.c index 60e2148fc..9091b1bf5 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -743,6 +743,12 @@ ofp_print_flow_flags(struct ds *s, enum ofputil_flow_mod_flags flags) if (flags & OFPUTIL_FF_NO_BYT_COUNTS) { ds_put_cstr(s, "no_byte_counts "); } + if (flags & OFPUTIL_FF_HIDDEN_FIELDS) { + ds_put_cstr(s, "allow_hidden_fields "); + } + if (flags & OFPUTIL_FF_NO_READONLY) { + ds_put_cstr(s, "no_readonly_table "); + } } static void @@ -1368,6 +1374,7 @@ ofp_print_error_msg(struct ds *string, const struct ofp_header *oh) ds_put_cstr(string, s); free(s); } + ofpbuf_uninit(&payload); } static void