Sergio Gonzalez Monroy 4e94250019 examples/ipsec-secgw: fix stack smashing
Building the application with -O3 and -fstack-protection (default in
Ubuntu) results in the following error:

*** stack smashing detected ***: ./build/ipsec-secgw terminated

The error is caused by storing an 8B value in a 4B variable.

Fixes: d299106e8e31 ("examples/ipsec-secgw: add IPsec sample application")

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2016-06-21 12:05:07 +02:00
..
2015-12-07 03:21:13 +01:00
2015-06-12 11:10:10 +02:00
2015-05-11 15:51:14 +02:00
2015-03-10 11:47:46 +01:00
2016-06-17 18:04:22 +02:00