X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fovs-dpctl.c;h=f79909a1f30c532ee5fbf3f5ddadb9248b9bf8e6;hb=0b8b6f71d5621a726a3bf5aa1bbee27ed1f4a8fe;hp=3167864ae27e0c97453e61f0863bf7e183547542;hpb=feebdea2e5550a71c7accda936b6a55962f60a04;p=openvswitch diff --git a/utilities/ovs-dpctl.c b/utilities/ovs-dpctl.c index 3167864a..f79909a1 100644 --- a/utilities/ovs-dpctl.c +++ b/utilities/ovs-dpctl.c @@ -480,7 +480,7 @@ do_dump_dps(int argc OVS_UNUSED, char *argv[] OVS_UNUSED) static void do_dump_flows(int argc OVS_UNUSED, char *argv[]) { - const struct odp_flow_stats *stats; + const struct dpif_flow_stats *stats; const struct nlattr *actions; struct dpif_flow_dump dump; const struct nlattr *key; @@ -498,7 +498,7 @@ do_dump_flows(int argc OVS_UNUSED, char *argv[]) ds_clear(&ds); odp_flow_key_format(key, key_len, &ds); ds_put_cstr(&ds, ", "); - format_odp_flow_stats(&ds, stats); + dpif_flow_stats_format(stats, &ds); ds_put_cstr(&ds, ", actions:"); format_odp_actions(&ds, actions, actions_len); printf("%s\n", ds_cstr(&ds));