summaryrefslogtreecommitdiff
path: root/lib/bundle.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundle.c')
-rw-r--r--lib/bundle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundle.c b/lib/bundle.c
index c6b1f75eb..e0f8e6b6c 100644
--- a/lib/bundle.c
+++ b/lib/bundle.c
@@ -217,7 +217,7 @@ bundle_check(const struct ofpact_bundle *bundle, int max_ports,
void
bundle_to_nxast(const struct ofpact_bundle *bundle, struct ofpbuf *openflow)
{
- int slaves_len = ROUND_UP(bundle->n_slaves, OFP_ACTION_ALIGN);
+ int slaves_len = ROUND_UP(2 * bundle->n_slaves, OFP_ACTION_ALIGN);
struct nx_action_bundle *nab;
ovs_be16 *slaves;
size_t i;