examples/ipsec-secgw: fix build with gcc 4.5
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Tue, 19 Jul 2016 11:06:00 +0000 (12:06 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 22 Jul 2016 09:53:32 +0000 (11:53 +0200)
commit96362fadd149e5df347c02a9b227e7204487b1ad
tree8ccbb4c648041a7b4e0c96ef6eb01ea66f8c917a
parent5a4e71f1f461a93b34fae5249f8131f1039bb3bc
examples/ipsec-secgw: fix build with gcc 4.5

GCC 4.5.x does not handle well initializing anonymous union and/or
structs.

To make the compiler happy we name those anonymous union/struct.

Fixes: 906257e965b7 ("examples/ipsec-secgw: support IPv6")

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
examples/ipsec-secgw/ipip.h
examples/ipsec-secgw/ipsec.h
examples/ipsec-secgw/sa.c