From: Ben Pfaff Date: Thu, 12 Sep 2013 17:54:23 +0000 (-0700) Subject: dpif-linux: Use correct enum in dpif_linux_flow_dump_start(). X-Git-Tag: sliver-openvswitch-2.0.90-1~14^2~38 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=067f1e2329d3624330560beadb9e805938e9d67b;p=sliver-openvswitch.git dpif-linux: Use correct enum in dpif_linux_flow_dump_start(). Both the old (wrong) and new (correct) enums have the same value, so this doesn't fix a visible bug. Reported-by: ankur dwivedi Signed-off-by: Ben Pfaff --- diff --git a/AUTHORS b/AUTHORS index 7642aee18..0f3db5833 100644 --- a/AUTHORS +++ b/AUTHORS @@ -223,6 +223,7 @@ YAMAMOTO Takashi yamamoto@valinux.co.jp Yeming Zhao zhaoyeming@gmail.com Ying Chen yingchen@vmware.com Yongqiang Liu liuyq7809@gmail.com +ankur dwivedi ankurengg2003@gmail.com kk yap yapkke@stanford.edu likunyun kunyunli@hotmail.com rahim entezari rahim.entezari@gmail.com diff --git a/lib/dpif-linux.c b/lib/dpif-linux.c index e2300d6c2..6f75f57e8 100644 --- a/lib/dpif-linux.c +++ b/lib/dpif-linux.c @@ -706,7 +706,7 @@ dpif_linux_port_dump_start(const struct dpif *dpif_, void **statep) *statep = state = xmalloc(sizeof *state); dpif_linux_vport_init(&request); - request.cmd = OVS_DP_CMD_GET; + request.cmd = OVS_VPORT_CMD_GET; request.dp_ifindex = dpif->dp_ifindex; buf = ofpbuf_new(1024); @@ -963,7 +963,7 @@ dpif_linux_flow_dump_start(const struct dpif *dpif_, void **statep) *statep = state = xmalloc(sizeof *state); dpif_linux_flow_init(&request); - request.cmd = OVS_DP_CMD_GET; + request.cmd = OVS_FLOW_CMD_GET; request.dp_ifindex = dpif->dp_ifindex; buf = ofpbuf_new(1024);