face: initialize m_wantCongestionMarking in factories
Amends commit 0c84164fd08f6758324f56275d9bcbad374f1576
Change-Id: I05dc7afee02abd8053a72f548f4cdd00b5f60d6e
Refs: #4465
diff --git a/daemon/face/udp-factory.hpp b/daemon/face/udp-factory.hpp
index 9fccdbb..4f9d71d 100644
--- a/daemon/face/udp-factory.hpp
+++ b/daemon/face/udp-factory.hpp
@@ -132,8 +132,8 @@
applyMcastConfig(const FaceSystem::ConfigContext& context);
private:
+ bool m_wantCongestionMarking = false;
std::map<udp::Endpoint, shared_ptr<UdpChannel>> m_channels;
- bool m_wantCongestionMarking;
struct MulticastConfig
{
@@ -143,7 +143,6 @@
ndn::nfd::LinkType linkType = ndn::nfd::LINK_TYPE_MULTI_ACCESS;
NetworkInterfacePredicate netifPredicate;
};
-
MulticastConfig m_mcastConfig;
std::map<udp::Endpoint, shared_ptr<Face>> m_mcastFaces;