From 097d2ab2521669c6bd8918e1953389f6acffdaff Mon Sep 17 00:00:00 2001 From: Ido Barnea Date: Mon, 9 Jan 2017 15:16:23 +0200 Subject: Fix to trex-330 - client_cfg does not work Signed-off-by: Ido Barnea --- src/sim/trex_sim_stateful.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/sim') diff --git a/src/sim/trex_sim_stateful.cpp b/src/sim/trex_sim_stateful.cpp index 7546644d..3980dc24 100644 --- a/src/sim/trex_sim_stateful.cpp +++ b/src/sim/trex_sim_stateful.cpp @@ -169,6 +169,9 @@ int load_list_of_cap_files(CParserOption * op){ if (op->client_cfg_file != "") { try { fl.load_client_config_file(op->client_cfg_file); + // The simulator only test MAC address configs, so this parameter is not used + CManyIPInfo pretest_result; + fl.set_client_config_resolved_macs(pretest_result); } catch (const std::runtime_error &e) { std::cout << "\n*** " << e.what() << "\n\n"; exit(-1); -- cgit 1.2.3-korg