summaryrefslogtreecommitdiffstats
path: root/src/handshake.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/handshake.c')
-rw-r--r--src/handshake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handshake.c b/src/handshake.c
index 59ebd72..f9dec71 100644
--- a/src/handshake.c
+++ b/src/handshake.c
@@ -101,7 +101,7 @@ void fastd_handshake_handle(fastd_context *ctx, fastd_peer *peer, fastd_buffer b
pr_info(ctx, "Handshake successful.");
pr_info(ctx, "Connection established.");
peer->state = STATE_ESTABLISHED;
- ctx->conf->method->method_init(ctx, peer);
+ ctx->conf->method->init(ctx, peer);
break;
default: