Skip to content

Commit

Permalink
ovn-controller: 'lports' and 'mcgroups' need not be static.
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Pfaff <[email protected]>
Acked-by: Simon Horman <[email protected]>
  • Loading branch information
blp committed Dec 2, 2016
1 parent 51738fe commit ab53d22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ovn/controller/ovn-controller.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,8 @@ main(int argc, char *argv[])
patch_run(&ctx, br_int, chassis_id, &local_datapaths,
&patched_datapaths);

static struct lport_index lports;
static struct mcgroup_index mcgroups;
struct lport_index lports;
struct mcgroup_index mcgroups;
lport_index_init(&lports, ctx.ovnsb_idl);
mcgroup_index_init(&mcgroups, ctx.ovnsb_idl);

Expand Down

0 comments on commit ab53d22

Please sign in to comment.