[ovs-dev] [PATCH] ofproto-dpif-xlate: Always generate wildcards.

Joe Stringer joe at ovn.org
Tue May 17 17:34:15 UTC 2016


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



More information about the dev mailing list