diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-07-24 23:35:20 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-07-24 23:35:20 +0200 |
commit | 8cc6b6dd69cee050c16a1c871c986ed933141866 (patch) | |
tree | 6fb604bcec561b7a0cfb17395eb59ffcc776b365 /mmss/network.hpp | |
parent | cbbfe4360d95294d792956df43df4a72854a8e80 (diff) | |
download | gmrf-8cc6b6dd69cee050c16a1c871c986ed933141866.tar gmrf-8cc6b6dd69cee050c16a1c871c986ed933141866.zip |
Diffstat (limited to 'mmss/network.hpp')
-rw-r--r-- | mmss/network.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mmss/network.hpp b/mmss/network.hpp index 7eca164..54e3f77 100644 --- a/mmss/network.hpp +++ b/mmss/network.hpp @@ -57,8 +57,7 @@ private: void enqueue(const void *data, size_t len, const iface_t *src_iface, const std::shared_ptr<iface_t> &dest_iface); public: - network_t(context_t *mmss0, const std::string &name0, unsigned rand_seed0) - : mmss(mmss0), name(name0), mtu(1500), rand_seed(rand_seed0), etx_min(1), etx_max(1) {} + network_t(context_t *mmss0, const std::string &name0, unsigned rand_seed0); void set_packet_loss(float etx) { etx_min = etx_max = etx; |