diff options
author | Ido Barnea <ibarnea@cisco.com> | 2016-11-27 11:43:08 +0200 |
---|---|---|
committer | Ido Barnea <ibarnea@cisco.com> | 2016-11-27 11:43:08 +0200 |
commit | 4c8363eaa42497fe51ce927f06a46b1a60a2169e (patch) | |
tree | 52f7bf19ba3c8ae714afd452a56fd62efe478748 /src/pre_test.cpp | |
parent | 1b8f2702752f6e0d2edb96978e493f091b77274f (diff) |
make -l work with client config
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'src/pre_test.cpp')
-rw-r--r-- | src/pre_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pre_test.cpp b/src/pre_test.cpp index 593d5f07..df753be5 100644 --- a/src/pre_test.cpp +++ b/src/pre_test.cpp @@ -503,6 +503,7 @@ void CPretest::get_results(CManyIPInfo &resolved_ips) { for (std::vector<COneIPInfo *>::iterator it = m_port_info[port].m_dst_info.begin() ; it != m_port_info[port].m_dst_info.end(); ++it) { uint8_t ip_type = (*it)->ip_ver(); + (*it)->set_port(port); switch(ip_type) { case COneIPInfo::IP4_VER: resolved_ips.insert(*(COneIPv4Info *)(*it)); |