Permalink
Browse files

make sanitizer happy in crofchantest

  • Loading branch information...
toanju committed Jul 14, 2017
1 parent 1f719d1 commit 45315595c430772b518c3882489435ea0674ab1b
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/rofl/common/crofchan/crofchantest.hpp
@@ -44,7 +44,7 @@ class crofchantest : public CppUnit::TestFixture,
private:
uint16_t listening_port;
bool keep_running;
std::atomic_bool keep_running;
rofl::openflow::cofhello_elem_versionbitmap versionbitmap;
uint64_t dpid;
uint32_t xid;
@@ -64,12 +64,12 @@ class crofchantest : public CppUnit::TestFixture,
rofl::crwlock plock;
std::set<rofl::crofconn *> pending_conns;
int num_of_pkts_sent;
int num_of_pkts_rcvd;
std::atomic_int num_of_pkts_sent;
std::atomic_int num_of_pkts_rcvd;
std::atomic_bool congested;
rofl::cthread thread;
int max_congestion_rounds;
std::atomic_int max_congestion_rounds;
private:
enum crofchantest_timer_t {

0 comments on commit 4531559

Please sign in to comment.