app/test: fix crash when checking LPM performance twice
authorNikita Kozlov <nikita@elyzion.net>
Tue, 1 Nov 2016 11:55:55 +0000 (12:55 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 6 Nov 2016 22:55:15 +0000 (23:55 +0100)
commitb2212274c89e22911eb911496b386285fdbee90f
tree60aabbef7de11e1aac22b1f4305529e51b9d4ea1
parentc7e9d6a6ed90a022067f42727d5d1675a3f3df11
app/test: fix crash when checking LPM performance twice

num_route_entries needs to be resetted.

Fixes: 17d60f5b5eea ("app/test: remove large IPv4 LPM data file")

Signed-off-by: Nikita Kozlov <nikita@elyzion.net>
Tested-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Wei Dai <wei.dai@intel.com>
Acked-by: Wei Dai <wei.dai@intel.com>
app/test/test_lpm_perf.c