From 3ef7a11b1841eaa9d944208f6773aed37432767e Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 13 Mar 2009 14:03:54 -0700 Subject: [PATCH] dpif: Make dpif_port_group_get() work. (It was never tested until now.) --- lib/dpif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2