summaryrefslogtreecommitdiffstats
path: root/src/stateless/cp
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2015-10-19 17:40:53 +0300
committerHanoh Haim <hhaim@cisco.com>2015-10-19 17:40:53 +0300
commit51ad078182d17b42a36c239c3c21381eeb3eec85 (patch)
tree462ac4f966c9511d98970e5cb61c32c00d8bda15 /src/stateless/cp
parentb9be7cb7e926c29706126d0bccf9e32c99c75070 (diff)
fix new compiler warning issue in stateless
Diffstat (limited to 'src/stateless/cp')
-rw-r--r--src/stateless/cp/trex_stateless_port.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stateless/cp/trex_stateless_port.cpp b/src/stateless/cp/trex_stateless_port.cpp
index f745bee9..a31847a5 100644
--- a/src/stateless/cp/trex_stateless_port.cpp
+++ b/src/stateless/cp/trex_stateless_port.cpp
@@ -22,10 +22,12 @@ limitations under the License.
#include <trex_stateless_port.h>
#include <string>
+#ifndef TREX_RPC_MOCK_SERVER
// DPDK c++ issue
#define UINT8_MAX 255
#define UINT16_MAX 0xFFFF
// DPDK c++ issue
+#endif
#include <rte_ethdev.h>
#include <os_time.h>