From 22a6b5706593d222bfc602859dbccd7beb5231ed Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 28 Mar 2012 00:55:39 +0200 Subject: Make crypto handshake with floating peers work --- src/protocol_null.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protocol_null.c') diff --git a/src/protocol_null.c b/src/protocol_null.c index 24cb58b..cdf6694 100644 --- a/src/protocol_null.c +++ b/src/protocol_null.c @@ -58,7 +58,7 @@ static void protocol_handle_recv(fastd_context *ctx, fastd_peer *peer, fastd_buf if (!fastd_peer_is_established(peer)) { pr_info(ctx, "Connection with %P established.", peer); - fastd_peer_set_established(ctx, peer); + fastd_peer_set_established(peer); } if (fastd_peer_is_temporary(peer)) { -- cgit v1.2.3