From e85f3c49ff318af847a3bbd97571ce25b0ae2752 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 18 Dec 2013 13:26:27 +0000 Subject: fix for bt plugin and set nonce to 0 --- src/transport/gnunet-service-transport_neighbours.c | 1 + src/transport/plugin_transport_bluetooth.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/transport') diff --git a/src/transport/gnunet-service-transport_neighbours.c b/src/transport/gnunet-service-transport_neighbours.c index e5bc5161c..b095045c1 100644 --- a/src/transport/gnunet-service-transport_neighbours.c +++ b/src/transport/gnunet-service-transport_neighbours.c @@ -1489,6 +1489,7 @@ GST_neighbours_keepalive_response (const struct GNUNET_PeerIdentity *neighbour, GNUNET_break (0); } + n->primary_address.keep_alive_nonce = 0; n->expect_latency_response = GNUNET_NO; n->latency = GNUNET_TIME_absolute_get_duration (n->last_keep_alive_time); n->timeout = GNUNET_TIME_relative_to_absolute (GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT); diff --git a/src/transport/plugin_transport_bluetooth.c b/src/transport/plugin_transport_bluetooth.c index bdc5a9fee..621a880e1 100644 --- a/src/transport/plugin_transport_bluetooth.c +++ b/src/transport/plugin_transport_bluetooth.c @@ -1942,7 +1942,7 @@ libgnunet_plugin_transport_bluetooth_init (void *cls) api->address_to_string = &bluetooth_plugin_address_to_string;; api->string_to_address = &bluetooth_string_to_address; api->get_network = &bluetooth_get_network; - api->update_session_timeout = &blueooth_plugin_update_session_timeout; + api->update_session_timeout = &bluetooth_plugin_update_session_timeout; return api; } -- cgit v1.2.3