examples/ipsec-secgw: fix build with gcc 4.5.1
authorRadu Nicolau <radu.nicolau@intel.com>
Thu, 9 Nov 2017 09:57:21 +0000 (09:57 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 10 Nov 2017 01:48:33 +0000 (02:48 +0100)
commit376ee1dee83e9c9dd3351943a4833d8de39dabd6
tree4877c3f969358686184fabd1954302fb9a1ed5ee
parent92f3ea373e029a70af583d58656dd1b457b93b09
examples/ipsec-secgw: fix build with gcc 4.5.1

On SUSE11 with gcc 4.5.1 the following build error occurred,
most likely because of improper handling of annonymous unions:

examples/ipsec-secgw/ipsec.c:87:4 error:
unknown field ‘ipsec’ specified in initializer

Fixes: ec17993a145a ("examples/ipsec-secgw: support security offload")

Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
examples/ipsec-secgw/ipsec.c