diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-31 21:18:07 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-31 21:18:07 +0200 |
commit | 4f0cfe26bf5445fc06a59a6db47cb2fa3158b87b (patch) | |
tree | 05396b7c13482ab27beb4593236b260c4bdf06c3 /src/peer.c | |
parent | f25c92359e57b1e97c86174067485acf6a9445de (diff) | |
download | fastd-4f0cfe26bf5445fc06a59a6db47cb2fa3158b87b.tar fastd-4f0cfe26bf5445fc06a59a6db47cb2fa3158b87b.zip |
Trigger handshake when unexpected data is received from a floating peer
Diffstat (limited to 'src/peer.c')
-rw-r--r-- | src/peer.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -169,6 +169,8 @@ fastd_peer* fastd_peer_set_established_merge(fastd_context *ctx, fastd_peer *per } } + fastd_task_replace_peer(ctx, temp_peer, perm_peer); + fastd_peer_reset(ctx, temp_peer); pr_info(ctx, "Connection with %P established.", perm_peer); |