From 1e6b2bf6001275bdd2ab0691f335bbb7966bf619 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Tue, 27 Sep 2016 09:08:57 +0300 Subject: /etc/trex_cfg.yaml allow MAC as string "12:34:56:78:9a:bc" etc. dpdk_setup_ports: fix create config in case of VM & passthrough --- src/common/c_common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/c_common.h') diff --git a/src/common/c_common.h b/src/common/c_common.h index 3e43644f..8a970e6e 100755 --- a/src/common/c_common.h +++ b/src/common/c_common.h @@ -50,3 +50,5 @@ typedef void* c_pvoid; #endif #endif + +#define ASSERT_MSG(cond, msg) if (!(cond)) {std::cerr << msg << std::endl; exit(-1);} -- cgit 1.2.3-korg