diff options
author | imarom <imarom@cisco.com> | 2015-10-11 14:42:24 +0200 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2015-10-11 14:42:24 +0200 |
commit | 6c7880b9881ed6690954f0c29259dd0b584b3970 (patch) | |
tree | f8d23267dc0e086f1c622418e8bf68a04d38e64d /src/tuple_gen.h | |
parent | 3b827c9584c28d3f1f573e372f646edfe9f5f007 (diff) |
DP cores now inject a single packet as a dummy to see stats
Diffstat (limited to 'src/tuple_gen.h')
-rwxr-xr-x | src/tuple_gen.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tuple_gen.h b/src/tuple_gen.h index fb856538..c0add0be 100755 --- a/src/tuple_gen.h +++ b/src/tuple_gen.h @@ -113,6 +113,9 @@ class CIpInfoBase { void set_ip(uint32_t ip) { m_ip = ip; } + + virtual ~CIpInfoBase() {} + public: uint32_t m_ip; }; @@ -388,7 +391,7 @@ class CIpPool { (ip<=ip_back->get_ip())) { return(true); } - printf("invalid ip:%x, min_ip:%x, max_ip:%x, this:%x\n", + printf("invalid ip:%x, min_ip:%x, max_ip:%x, this:%p\n", ip, ip_front->get_ip(), ip_back->get_ip(),this); return(false); |