X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fdpif.c;h=a7706e4e7c9f28260fee4202b1bd3e8b1a24b29f;hb=f1670a487adf5d5352eaf32f15bcf2958cdb1771;hp=b3e82afc28ec6cadabaafa52aba074eb0bd6f8a7;hpb=f1588b1fa1be46231ee079358e428dae74ff09cc;p=openvswitch diff --git a/lib/dpif.c b/lib/dpif.c index b3e82afc..a7706e4e 100644 --- a/lib/dpif.c +++ b/lib/dpif.c @@ -1106,7 +1106,8 @@ should_log_flow_message(int error) static void log_flow_message(const struct dpif *dpif, int error, const char *operation, - const flow_t *flow, const struct odp_flow_stats *stats, + const struct odp_flow_key *flow, + const struct odp_flow_stats *stats, const union odp_action *actions, size_t n_actions) { struct ds ds = DS_EMPTY_INITIALIZER; @@ -1118,7 +1119,7 @@ log_flow_message(const struct dpif *dpif, int error, const char *operation, if (error) { ds_put_format(&ds, "(%s) ", strerror(error)); } - flow_format(&ds, flow); + format_odp_flow_key(&ds, flow); if (stats) { ds_put_cstr(&ds, ", "); format_odp_flow_stats(&ds, stats);