diff options
author | 2016-09-27 09:08:57 +0300 | |
---|---|---|
committer | 2016-09-27 09:08:57 +0300 | |
commit | 1e6b2bf6001275bdd2ab0691f335bbb7966bf619 (patch) | |
tree | cd601fa51b2645f9a21ed1cbad5c76da13e01cc3 /src/common | |
parent | 9ff1f808edcc9289d297b3a6cf34b1e5590ecf85 (diff) |
/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
Diffstat (limited to 'src/common')
-rwxr-xr-x | src/common/c_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
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);} |