From: Ben Pfaff Date: Fri, 13 Mar 2009 21:03:54 +0000 (-0700) Subject: dpif: Make dpif_port_group_get() work. (It was never tested until now.) X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ef7a11b1841eaa9d944208f6773aed37432767e;p=openvswitch dpif: Make dpif_port_group_get() work. (It was never tested until now.) --- diff --git a/lib/dpif.c b/lib/dpif.c index 563149e4..0a4c86a2 100644 --- a/lib/dpif.c +++ b/lib/dpif.c @@ -388,7 +388,7 @@ dpif_port_group_get(const struct dpif *dpif, uint16_t group, pg.group = group; pg.ports = ports; pg.n_ports = n_ports; - error = IOCTL(dpif, ODP_PORT_GROUP_SET, &pg); + error = IOCTL(dpif, ODP_PORT_GROUP_GET, &pg); *n_out = error ? 0 : pg.n_ports; return error; }