From: Ben Pfaff Date: Tue, 30 Dec 2008 23:26:33 +0000 (-0800) Subject: Fix bug in make_add_simple_flow() that busts secchan's in-band control. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da5f95f8e63b2d21bb5e5034d5a503fa919378ab;p=openvswitch Fix bug in make_add_simple_flow() that busts secchan's in-band control. --- diff --git a/lib/vconn.c b/lib/vconn.c index 745cd761..12d3ad4f 100644 --- a/lib/vconn.c +++ b/lib/vconn.c @@ -879,7 +879,7 @@ make_add_simple_flow(const struct flow *flow, { struct ofp_action_output *oao; struct ofpbuf *buffer = make_add_flow(flow, buffer_id, idle_timeout, - sizeof oao); + sizeof *oao); oao = ofpbuf_put_zeros(buffer, sizeof *oao); oao->type = htons(OFPAT_OUTPUT); oao->len = htons(sizeof *oao);