summaryrefslogtreecommitdiffstats
path: root/src/protocols
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-03-23 06:53:52 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-03-23 06:53:52 +0100
commit6ab2671259ebfc683af69b57f400457bbbe169eb (patch)
treefccc96cc9b2e3e51bfb1ea6e82c9d533f109d41c /src/protocols
parent69fc8268d0a17cf3b86b327a78e302f049c194e1 (diff)
downloadfastd-6ab2671259ebfc683af69b57f400457bbbe169eb.tar
fastd-6ab2671259ebfc683af69b57f400457bbbe169eb.zip
Improve sync/async execution of up/down scripts
Diffstat (limited to 'src/protocols')
-rw-r--r--src/protocols/ec25519_fhmqvc/handshake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/ec25519_fhmqvc/handshake.c b/src/protocols/ec25519_fhmqvc/handshake.c
index 246336b..4d3d17a 100644
--- a/src/protocols/ec25519_fhmqvc/handshake.c
+++ b/src/protocols/ec25519_fhmqvc/handshake.c
@@ -508,7 +508,7 @@ void fastd_protocol_ec25519_fhmqvc_handshake_init(fastd_socket_t *sock, const fa
fastd_handshake_add(&buffer, RECORD_SENDER_HANDSHAKE_KEY, PUBLICKEYBYTES, &ctx.protocol_state->handshake_key.key.public);
if (!peer || !fastd_peer_is_established(peer))
- fastd_peer_exec_shell_command(&conf.on_connect, peer, (local_addr && local_addr->sa.sa_family) ? local_addr : sock->bound_addr, remote_addr);
+ fastd_peer_exec_shell_command(&conf.on_connect, peer, (local_addr && local_addr->sa.sa_family) ? local_addr : sock->bound_addr, remote_addr, false);
fastd_send_handshake(sock, local_addr, remote_addr, peer, buffer.buffer);
}