X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fdpif.c;h=b4a1d93cf8eeaac8ba25823ace63cb07e544542d;hb=d656937779f5b987ec021c21189a0deab29fd64d;hp=b7e2b389383e219aa5cc7618a742ad203d3aeba2;hpb=ba25b8f41f4db5ed5c91f53b9b83b57f242a82d6;p=openvswitch diff --git a/lib/dpif.c b/lib/dpif.c index b7e2b389..b4a1d93c 100644 --- a/lib/dpif.c +++ b/lib/dpif.c @@ -731,7 +731,7 @@ dpif_flow_flush(struct dpif *dpif) * If 'stats' is nonnull, then on success it will be updated with the flow's * statistics. */ int -dpif_flow_get(const struct dpif *dpif, int flags, +dpif_flow_get(const struct dpif *dpif, const struct nlattr *key, size_t key_len, struct ofpbuf **actionsp, struct dpif_flow_stats *stats) { @@ -739,8 +739,7 @@ dpif_flow_get(const struct dpif *dpif, int flags, COVERAGE_INC(dpif_flow_get); - error = dpif->dpif_class->flow_get(dpif, flags, key, key_len, actionsp, - stats); + error = dpif->dpif_class->flow_get(dpif, key, key_len, actionsp, stats); if (error) { if (actionsp) { *actionsp = NULL;