diff options
author | root <root@crdc-asr1k-trex.cisco.com> | 2015-10-01 22:58:16 -0400 |
---|---|---|
committer | root <root@crdc-asr1k-trex.cisco.com> | 2015-10-01 22:58:16 -0400 |
commit | e2b63ecc0544c82590c9aeb9a44a8a4bcb869cb6 (patch) | |
tree | 64466ca614bbd1a91a8856f4783da4c964bcc664 /src/tuple_gen.cpp | |
parent | 894ec2ddcd9965f60c4bc7a0b48edf41bfc167d8 (diff) |
minor change
Diffstat (limited to 'src/tuple_gen.cpp')
-rwxr-xr-x | src/tuple_gen.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tuple_gen.cpp b/src/tuple_gen.cpp index d725de44..3a477338 100755 --- a/src/tuple_gen.cpp +++ b/src/tuple_gen.cpp @@ -123,7 +123,6 @@ void CClientPool::Create(IP_DIST_t dist_value, CreateBase(); } -void delay(int msec); bool CTupleGeneratorSmart::add_client_pool(IP_DIST_t client_dist, uint32_t min_client, @@ -136,7 +135,7 @@ bool CTupleGeneratorSmart::add_client_pool(IP_DIST_t client_dist, assert(max_client>=min_client); CClientPool* pool = new CClientPool(); pool->Create(client_dist, min_client, max_client, - l_flow, t_cps, mac_info, has_mac_mapping, + l_flow, t_cps, mac_info, m_has_mac_mapping, tcp_aging, udp_aging); m_client_pool.push_back(pool); @@ -171,13 +170,13 @@ bool CTupleGeneratorSmart::Create(uint32_t _id, m_thread_id = thread_id; m_id = _id; m_was_init=true; - has_mac_mapping = has_mac; + m_has_mac_mapping = has_mac; return(true); } void CTupleGeneratorSmart::Delete(){ m_was_init=false; - has_mac_mapping = false; + m_has_mac_mapping = false; for (int idx=0;idx<m_client_pool.size();idx++) { m_client_pool[idx]->Delete(); |