examples/ipsec-secgw: fix configuration parsing
authorFan Zhang <roy.fan.zhang@intel.com>
Mon, 7 Nov 2016 17:25:37 +0000 (17:25 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Nov 2016 20:44:42 +0000 (21:44 +0100)
commita1469c319fdd21f1cc375489251d40a80c772e7d
treeffa0b8881aae0643f6a346895865e509f96b1981
parent63e8c07c7245095406c1d01a4121e05191121754
examples/ipsec-secgw: fix configuration parsing

Fix pointer to local outside scope.

Coverity issue: 137871
Fixes: 0d547ed03717 ("examples/ipsec-secgw: support configuration file")

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
examples/ipsec-secgw/parser.c