From 810dd7d0a48c17679e385b93d595a92b51254ce4 Mon Sep 17 00:00:00 2001 From: Ido Barnea Date: Wed, 20 Jul 2016 10:19:11 +0300 Subject: ipv6 flow stat on vm working --- src/flow_stat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/flow_stat.cpp') diff --git a/src/flow_stat.cpp b/src/flow_stat.cpp index 8c2f2566..a9451e17 100644 --- a/src/flow_stat.cpp +++ b/src/flow_stat.cpp @@ -63,7 +63,7 @@ stream_del: HW_ID_INIT static const uint16_t HW_ID_INIT = UINT16_MAX; static const uint16_t HW_ID_FREE = UINT16_MAX - 1; static const uint8_t PAYLOAD_RULE_PROTO = 255; -const uint16_t FLOW_STAT_PAYLOAD_IP_ID = IP_ID_RESERVE_BASE + MAX_FLOW_STATS; +const uint32_t FLOW_STAT_PAYLOAD_IP_ID = IP_ID_RESERVE_BASE + MAX_FLOW_STATS; inline std::string methodName(const std::string& prettyFunction) { @@ -691,7 +691,7 @@ int CFlowStatRuleMgr::start_stream(TrexStream * stream) { return 0; } - uint16_t ip_id; + uint32_t ip_id; if (m_parser->get_ip_id(ip_id) < 0) { return 0; // if we could not find the ip id, no need to fix } -- cgit 1.2.3-korg