examples/l2fwd-crypto: add missing string initialization
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 31 Mar 2016 09:32:09 +0000 (10:32 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 31 Mar 2016 20:24:21 +0000 (22:24 +0200)
commit49f79e86480d917f54247996a23c709554cbd88a
tree6955220e63a7f08ac251f2e890ad2d3d0bf48f72
parenta33809891b4407ef1bfab665cc9d55031299bddf
examples/l2fwd-crypto: add missing string initialization

When passing the preferred crypto device type in the command line
parameters, the string (HW/SW/ANY) was not being saved, which is used
for error information to the user.

Fixes: 27cf2d1b18e1 ("examples/l2fwd-crypto: discover capabilities")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
examples/l2fwd-crypto/main.c