X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fdpif.c;h=bb95502c6e2dcaf4f33f379d61614741d637db1b;hb=69fc54f47bbc35e81bfe2e38e57f5dcfd9858df4;hp=9c5cf3d07cea8c9c23a95e2eb4d6f1cada19d948;hpb=d017eeb9f9ebcb46c24a67fd301b3e36cd26a04e;p=sliver-openvswitch.git diff --git a/lib/dpif.c b/lib/dpif.c index 9c5cf3d07..bb95502c6 100644 --- a/lib/dpif.c +++ b/lib/dpif.c @@ -635,7 +635,7 @@ dpif_port_query_by_name(const struct dpif *dpif, const char *devname, /* Returns one greater than the maximum port number accepted in flow * actions. */ -odp_port_t +uint32_t dpif_get_max_ports(const struct dpif *dpif) { return dpif->dpif_class->get_max_ports(dpif); @@ -1352,7 +1352,7 @@ log_flow_message(const struct dpif *dpif, int error, const char *operation, if (error) { ds_put_format(&ds, "(%s) ", ovs_strerror(error)); } - odp_flow_format(key, key_len, mask, mask_len, &ds); + odp_flow_format(key, key_len, mask, mask_len, &ds, true); if (stats) { ds_put_cstr(&ds, ", "); dpif_flow_stats_format(stats, &ds);