diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-01-20 23:47:41 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-01-20 23:47:41 +0100 |
commit | eece4529cbc27eb8266cd9f47cf84c0d0a6b742a (patch) | |
tree | 8d33bfdf766c8ff2579c3f2c0de621af82aeb956 /src/fastd.h | |
parent | 972dd90499fd19fcd2c31cf15bb26231d0a862aa (diff) | |
download | fastd-eece4529cbc27eb8266cd9f47cf84c0d0a6b742a.tar fastd-eece4529cbc27eb8266cd9f47cf84c0d0a6b742a.zip |
handshake: delay method parsing until the sender key has been handled
Otherwise fastd won't use the correct peer group's method list for handshakes
incoming on generic sockets.
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.h b/src/fastd.h index 60b675a..56a099a 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -78,7 +78,7 @@ struct fastd_protocol { void (*handshake_init)(fastd_socket_t *sock, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *remote_addr, fastd_peer_t *peer); /** Handles a handshake for the given peer */ - void (*handshake_handle)(fastd_socket_t *sock, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *remote_addr, fastd_peer_t *peer, const fastd_handshake_t *handshake, const fastd_method_info_t *method); + void (*handshake_handle)(fastd_socket_t *sock, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *remote_addr, fastd_peer_t *peer, const fastd_handshake_t *handshake); #ifdef WITH_DYNAMIC_PEERS /** Handles an asynchronous on-verify command return */ |