diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-01-30 14:16:20 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-01-30 14:16:20 +0000 |
commit | e34f367380ed951b51895e24d99a81a12899278c (patch) | |
tree | f69a83bde0e96cb3def8af1cefa4e7b5548e7bc2 /src/transport/plugin_transport_udp.c | |
parent | ff57ba65e29db50bd42e540ba95cb938a5ef8008 (diff) | |
download | gnunet-e34f367380ed951b51895e24d99a81a12899278c.tar.gz gnunet-e34f367380ed951b51895e24d99a81a12899278c.zip |
extending bandwidth tracker api to support notifications
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index be3f3f8d9..a50aaa436 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -3007,7 +3007,7 @@ libgnunet_plugin_transport_udp_init (void *cls) | |||
3007 | p->defrag_ctxs = GNUNET_CONTAINER_heap_create ( | 3007 | p->defrag_ctxs = GNUNET_CONTAINER_heap_create ( |
3008 | GNUNET_CONTAINER_HEAP_ORDER_MIN); | 3008 | GNUNET_CONTAINER_HEAP_ORDER_MIN); |
3009 | p->mst = GNUNET_SERVER_mst_create (&process_inbound_tokenized_messages, p); | 3009 | p->mst = GNUNET_SERVER_mst_create (&process_inbound_tokenized_messages, p); |
3010 | GNUNET_BANDWIDTH_tracker_init (&p->tracker, | 3010 | GNUNET_BANDWIDTH_tracker_init (&p->tracker, NULL, NULL, |
3011 | GNUNET_BANDWIDTH_value_init ((uint32_t) udp_max_bps), 30); | 3011 | GNUNET_BANDWIDTH_value_init ((uint32_t) udp_max_bps), 30); |
3012 | plugin = p; | 3012 | plugin = p; |
3013 | 3013 | ||