Commit 62ea4b3c authored by Niels Möller's avatar Niels Möller
Browse files

Added "ignore next packet" feature, needed for key exchange.

Rev: src/connection.c:1.5
parent cf506a57
......@@ -25,6 +25,13 @@ static int handle_connection(struct abstract_write **w,
msg = packet->data[0];
if (closure->ignore_one_packet)
closure->ignore_one_packet = 0;
return WRITE_OK;
return HANDLE_PACKET(closure->dispatch[msg], closure, packet);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment