diff options
author | Razvan Becheriu <razvan@isc.org> | 2020-05-06 17:19:27 +0200 |
---|---|---|
committer | Razvan Becheriu <razvan@isc.org> | 2020-05-06 17:19:27 +0200 |
commit | cb523c4cd2377f93d155c6831c6f73bdc20ac555 (patch) | |
tree | 4f52274f1826f6460ba46dc0266d95cc0e334d34 /src/lib/dhcp/iface_mgr.cc | |
parent | [#1095] Revert "[#1095] Protected communication state timer concurrent accesses" (diff) | |
download | kea-cb523c4cd2377f93d155c6831c6f73bdc20ac555.tar.xz kea-cb523c4cd2377f93d155c6831c6f73bdc20ac555.zip |
[#1095] make state model thread safe
Diffstat (limited to 'src/lib/dhcp/iface_mgr.cc')
-rw-r--r-- | src/lib/dhcp/iface_mgr.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dhcp/iface_mgr.cc b/src/lib/dhcp/iface_mgr.cc index e805bff432..58e2d57e15 100644 --- a/src/lib/dhcp/iface_mgr.cc +++ b/src/lib/dhcp/iface_mgr.cc @@ -731,7 +731,6 @@ IfaceMgr::startDHCPReceiver(const uint16_t family) { dhcp_receiver_.reset(new WatchedThread()); dhcp_receiver_->start(boost::bind(&IfaceMgr::receiveDHCP4Packets, this)); - break; case AF_INET6: // If the queue doesn't exist, packet queing has been configured @@ -1211,7 +1210,8 @@ Pkt4Ptr IfaceMgr::receive4Direct(uint32_t timeout_sec, uint32_t timeout_usec /* // Note the external socket to call its callback without // the lock taken so it can be deleted. ex_sock = s; - break; } + break; + } } } |