[ovs-dev] [PATCH] ofproto-dpif-xlate: Always generate wildcards.
Ben Pfaff
blp at ovn.org
Tue May 17 23:30:08 UTC 2016
On Tue, May 17, 2016 at 10:34:15AM -0700, Joe Stringer wrote:
> On 22 April 2016 at 17:45, Ben Pfaff <blp at ovn.org> wrote:
> > @@ -5086,7 +5083,9 @@ xlate_actions(struct xlate_in *xin, struct xlate_out *xout)
> > .xbridge = xbridge,
> > .stack = OFPBUF_STUB_INITIALIZER(stack_stub),
> > .rule = xin->rule,
> > - .wc = xin->wc ? xin->wc : &scratch_wc,
> > + .wc = (xin->wc
> > + ? xin->wc
> > + : &(struct flow_wildcards) { .masks.dl_type = 0 }),
> > .odp_actions = xin->odp_actions ? xin->odp_actions : &scratch_actions,
> >
> > .recurse = xin->recurse,
>
> It seems that GCC 4.6.3 as used by Travis doesn't like this anonymous struct:
> https://travis-ci.org/openvswitch/ovs/builds/130256491
Thanks for the report. I posted a fix:
http://openvswitch.org/pipermail/dev/2016-May/071159.html
More information about the dev
mailing list