X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fdpif.c;fp=lib%2Fdpif.c;h=e591985637d8be2e0b05833184a70648326728a4;hb=3b9c97ee0177af0937b7f351791565c90d221412;hp=34268993c1d4d3a1bae7305618d07c32ceaafe3d;hpb=9e6949d69fc59f1d36604973b8dbed16aa36b1f4;p=sliver-openvswitch.git diff --git a/lib/dpif.c b/lib/dpif.c index 34268993c..e59198563 100644 --- a/lib/dpif.c +++ b/lib/dpif.c @@ -202,10 +202,10 @@ dpif_send_openflow(struct dpif *dp, struct buffer *buffer, bool wait) int n_iov; int retval; - /* The reply to OFPT_FLOW_STATS_REQUEST may be multiple segments long, so - * we need to specify NLM_F_DUMP in the request. */ + /* The reply to OFPT_STATS_REQUEST may be multiple segments long, so we + * need to specify NLM_F_DUMP in the request. */ oh = buffer_at_assert(buffer, 0, sizeof *oh); - dump_flag = oh->type == OFPT_FLOW_STATS_REQUEST ? NLM_F_DUMP : 0; + dump_flag = oh->type == OFPT_STATS_REQUEST ? NLM_F_DUMP : 0; buffer_use(&hdr, fixed_buffer, sizeof fixed_buffer); nl_msg_put_genlmsghdr(&hdr, dp->sock, 32, openflow_family,