face: initialize m_wantCongestionMarking in factories
Amends commit 0c84164fd08f6758324f56275d9bcbad374f1576
Change-Id: I05dc7afee02abd8053a72f548f4cdd00b5f60d6e
Refs: #4465
diff --git a/daemon/face/tcp-factory.hpp b/daemon/face/tcp-factory.hpp
index 874dd8c..6d3dbce 100644
--- a/daemon/face/tcp-factory.hpp
+++ b/daemon/face/tcp-factory.hpp
@@ -72,8 +72,8 @@
getChannels() const override;
private:
+ bool m_wantCongestionMarking = false;
std::map<tcp::Endpoint, shared_ptr<TcpChannel>> m_channels;
- bool m_wantCongestionMarking;
};
} // namespace face
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;
diff --git a/daemon/face/unix-stream-factory.hpp b/daemon/face/unix-stream-factory.hpp
index de2391f..9ce7c76 100644
--- a/daemon/face/unix-stream-factory.hpp
+++ b/daemon/face/unix-stream-factory.hpp
@@ -81,8 +81,8 @@
findChannel(const unix_stream::Endpoint& endpoint) const;
private:
+ bool m_wantCongestionMarking = false;
std::map<unix_stream::Endpoint, shared_ptr<UnixStreamChannel>> m_channels;
- bool m_wantCongestionMarking;
};
} // namespace face