diff options
author | Hanoh Haim <hhaim@cisco.com> | 2015-10-19 16:30:55 +0300 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2015-10-19 16:30:55 +0300 |
commit | 872a205b4c5e4119b6d0d10a7ec774ce22d63256 (patch) | |
tree | e650ddcc3ceb5cb9e4b9c33609fcbfc956455f03 /src/tuple_gen.h | |
parent | cf5dc18ecbeca6b4be9a171d996bba1cba9c3679 (diff) | |
parent | 6c7880b9881ed6690954f0c29259dd0b584b3970 (diff) |
Merge branch 'rpc' -> add support for interactive mode
Diffstat (limited to 'src/tuple_gen.h')
-rwxr-xr-x | src/tuple_gen.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tuple_gen.h b/src/tuple_gen.h index 4b181ad5..29adbd69 100755 --- a/src/tuple_gen.h +++ b/src/tuple_gen.h @@ -183,6 +183,7 @@ class CIpInfoBase { void set_ip(uint32_t ip) { m_ip = ip; } + virtual ~CIpInfoBase() {} protected: uint32_t m_ip; }; @@ -409,7 +410,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); |