X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fofp-print.c;fp=lib%2Fofp-print.c;h=1e35fba7937b05e21fefbcd146838463859bc4b4;hb=7f05e7abc8fc190c5ff60dd3c3fcd4b9eb5c8dfa;hp=a0f04dcb64634d734e06029a92149f553d56d692;hpb=558e2cc58e16f6e3cee44926d69d385d84d42521;p=openvswitch diff --git a/lib/ofp-print.c b/lib/ofp-print.c index a0f04dcb..1e35fba7 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -765,7 +765,7 @@ ofp_print_flow_mod(struct ds *s, const struct ofp_header *oh, int verbosity) if (fm.buffer_id != UINT32_MAX) { ds_put_format(s, "buf:0x%"PRIx32" ", fm.buffer_id); } - if (fm.out_port != OFPP_NONE) { + if (fm.out_port != OFPP_ANY) { ds_put_format(s, "out_port:"); ofputil_format_port(fm.out_port, s); ds_put_char(s, ' '); @@ -1003,7 +1003,7 @@ ofp_print_flow_stats_request(struct ds *string, const struct ofp_header *oh) ds_put_format(string, " table=%"PRIu8, fsr.table_id); } - if (fsr.out_port != OFPP_NONE) { + if (fsr.out_port != OFPP_ANY) { ds_put_cstr(string, " out_port="); ofputil_format_port(fsr.out_port, string); }